incrementConfigEntry('db_hits', getConfig('db_hits_run'));
// Update counter for db/cache
- UPDATE_CONFIG(array('db_hits', 'cache_hits'), array(getConfig(('db_hits')), getConfig(('cache_hits'))));
+ updateConfiguration(array('db_hits', 'cache_hits'), array(getConfig(('db_hits')), getConfig(('cache_hits'))));
} // END - if
// Close database link and forget the link
// 123 4 4 3 3 4 432 23 4 4 3 3 4 4321
if (((SQL_NUMROWS($result) == 0) && (ereg("ADD", $sql))) || ((SQL_NUMROWS($result) == 1) && (ereg("DROP", $sql)))) {
// Do the query
- //* DEBUG: */ print __LINE__.":".$sql."<br />\n";
+ //* DEBUG: */ print __LINE__.':'.$sql."<br />\n";
$result = SQL_QUERY($sql, $F, $L, false);
} // END - if
} elseif ((constant('_TABLE_TYPE') == "InnoDB") && (ereg("FULLTEXT", $sql))) {
while (strpos($columnName, ",") !== false) {
// Use last
$columnName = str_replace("`", '', $tableArray[count($tableArray) - $begin]);
- //* DEBUG: */ print __LINE__.":".$columnName."----------------".$begin."<br />\n";
+ //* DEBUG: */ print __LINE__.':'.$columnName."----------------".$begin."<br />\n";
// Remove brackes
$columnName = str_replace("(", '', str_replace(")", '', $columnName));
- //* DEBUG: */ print __LINE__.":".$columnName."----------------".$begin."<br />\n";
+ //* DEBUG: */ print __LINE__.':'.$columnName."----------------".$begin."<br />\n";
// Continue
$begin++;
// Shall we run it?
if (!$skip) {
// Send it to the SQL_QUERY() function
- //* DEBUG: */ print __LINE__.":".$sql."<br />\n";
+ //* DEBUG: */ print __LINE__.':'.$sql."<br />\n";
$result = SQL_QUERY($sql, $F, $L, false);
} // END - if
} else {
// Other ALTER TABLE query
- //* DEBUG: */ print __LINE__.":".$sql."<br />\n";
+ //* DEBUG: */ print __LINE__.':'.$sql."<br />\n";
$result = SQL_QUERY($sql, $F, $L, false);
}