Commit ff5146c2 authored by Ayolo's avatar Ayolo
Browse files

optimize tables

parent 4715455d
......@@ -8,6 +8,11 @@ $site = new site ();
echo "==== ".date("d/m/Y")." ====\n";
echo ">> OPTIMZE TABLES\n";
$req = new requete($site->db, 'SHOW TABLES');
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