Commit c7a9d99e authored by Mike Hibler's avatar Mike Hibler

Avoid dire warning spit out by newer mysqldump.

Also, avoid excess set statements in the dump file.
parent ecb880f7
#!/usr/bin/perl -w
#
# Copyright (c) 2004-2015 University of Utah and the Flux Group.
# Copyright (c) 2004-2018 University of Utah and the Flux Group.
#
# {{{EMULAB-LICENSE
#
......@@ -165,6 +165,7 @@ if ($options{"S"}) {
}
my $dumpopts = "--compact --no-create-info --add-locks";
$dumpopts .= " --set-gtid-purged=OFF";
while (my ($table, $clist) = each %clean_tables) {
foreach my $column (@$clist) {
if (system("mysqldump $dumpopts -w \"$column='$node'\" tbdb $table >> $savefile")) {
......
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