mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-07 15:40:41 -04:00
Remove 'ENGINE=InnoDB' specification from tables that we create. Use
the system's default table specification. Fixes ticket #597.
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user