Commit 2ccede61 authored by BenC's avatar BenC

Fix

parent 7ca1dd8e
......@@ -10,7 +10,7 @@ echo "==== ".date("d/m/Y")." ====\n";
echo ">> OPTIMZE TABLES\n";
$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.'\'');
......
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