Commit 2ccede61 authored by BenC's avatar BenC
Browse files


parent 7ca1dd8e
...@@ -10,7 +10,7 @@ echo "==== ".date("d/m/Y")." ====\n"; ...@@ -10,7 +10,7 @@ echo "==== ".date("d/m/Y")." ====\n";
echo ">> OPTIMZE TABLES\n"; echo ">> OPTIMZE TABLES\n";
$req = new requete($site->db, 'SHOW TABLES'); $req = new requete($site->db, 'SHOW TABLES');
while(list($table)=$req->get_rwo()) while(list($table)=$req->get_row())
new requete($site->dbrw, 'OPTIMIZE TABLE \''.$table.'\''); new requete($site->dbrw, 'OPTIMIZE TABLE \''.$table.'\'');
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment