Commit d917dece authored by Mike Hibler's avatar Mike Hibler

The --all option of mysqldump has been deprecated since 4.1.

Using --create-options instead.
parent 3b759325
......@@ -280,7 +280,7 @@ else {
#
# Do a mysqldump. This will reset the log files.
#
if (system("$MYSQLDUMP --all ".
if (system("$MYSQLDUMP --create-options ".
"--flush-logs --lock-tables $DBNAME > $backname")) {
fatal("mysqldump failed!");
}
......
#!/usr/bin/perl
#
# Copyright (c) 2000-2003 University of Utah and the Flux Group.
# Copyright (c) 2000-2015 University of Utah and the Flux Group.
#
# {{{EMULAB-LICENSE
#
......@@ -92,7 +92,7 @@ sub tb_prerun {
close(TBEXEC);
$ecode = ($? >> 8);
# system("mysqldump --all $db > $cmd-$::counter.txt");
# system("mysqldump --create-options $db > $cmd-$::counter.txt");
$::counter++;
# Forget about specific error codes. Either success or fail.
......@@ -136,7 +136,7 @@ sub tb_run {
close(TBEXEC);
$ecode = ($? >> 8);
# system("mysqldump --all $db > $cmd-$::counter.txt");
# system("mysqldump --create-options $db > $cmd-$::counter.txt");
$::counter++;
# Forget about specific error codes. Either success or fail.
......
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