Turn off extended inserts when creating install.sql so that it's

easier to see what's changed.
This commit is contained in:
Bharat Mediratta
2009-07-11 05:36:31 -07:00
parent 9f753a53f0
commit 6281ed03d5
2 changed files with 43 additions and 10 deletions
+2 -2
View File
@@ -98,7 +98,7 @@ class Packager_Controller extends Controller {
print "$sql_file is not writeable";
return;
}
$command = "mysqldump --compact --add-drop-table -h{$conn['host']} " .
$command = "mysqldump --compact --skip-extended-insert --add-drop-table -h{$conn['host']} " .
"-u{$conn['user']} $pass {$conn['database']} > $sql_file";
exec($command, $output, $status);
if ($status) {
@@ -153,7 +153,7 @@ class Packager_Controller extends Controller {
$paths[] = "VARPATH . \"" . substr($name, strlen(VARPATH)) . "\"";
} else {
// @todo: serialize non-directories
print "Unknown file: $name";
print "IGNORING FILE: $name\n";
return;
}
}