Remove 'ENGINE=InnoDB' specification from tables that we create. Use

the system's default table specification.  Fixes ticket #597.
This commit is contained in:
Bharat Mediratta
2009-08-27 15:47:54 -07:00
parent 75c098204f
commit 4828db003f
13 changed files with 57 additions and 53 deletions
+4
View File
@@ -123,6 +123,10 @@ class Packager_Controller extends Controller {
// Normalize dates
$line = preg_replace("/,$root_created_timestamp,/", ",UNIX_TIMESTAMP(),", $line);
$line = preg_replace("/,$root_updated_timestamp,/", ",UNIX_TIMESTAMP(),", $line);
// Remove ENGINE= specifications
$line = preg_replace("/ENGINE=\S+ /", "", $line);
$buf .= $line;
}
$fd = fopen($sql_file, "wb");