thanks to kevin123 lots of changes

This commit is contained in:
jonnyboy
2013-01-05 06:18:54 -05:00
parent 1d02877e83
commit 596a74c22d
34 changed files with 7117 additions and 179 deletions
Executable
+22
View File
@@ -0,0 +1,22 @@
<?php
require_once("/var/www/newznab/www/config.php");
require_once("/var/www/newznab/www/lib/framework/db.php");
$db = new DB();
echo "This script will convert only your releases, parts and binaries table back to InnoDB.\n";
echo "This may take a while depending on how large your tables are. Do not stop this script. It will finish.\n\n";
echo "Converting the binaries table back to InnoDB\n";
$db->query("ALTER TABLE binaries ENGINE=InnoDB ROW_FORMAT=DYNAMIC;");
echo "Finished converting the binaries table back to InnoDB.\n\n";
echo "Converting the parts table back to InnoDB\n";
$db->query("ALTER TABLE parts ENGINE=InnoDB ROW_FORMAT=DYNAMIC;");
echo "Finished converting the parts table back to InnoDB.\n\n";
echo "Converting the releases table back to InnoDB\n";
$db->query("ALTER TABLE releases ENGINE=InnoDB ROW_FORMAT=DYNAMIC;");
echo "Finished converting the releases table back to InnoDB.\n\n";
?>