MDEV-3820 MTR1 produces bootstrap SQL file with wrong syntax, server bootstrap fails

This commit is contained in:
Sergei Golubchik 2012-10-29 08:33:57 +01:00
parent bba8b263c2
commit 4bb48f922b

View File

@ -3223,7 +3223,7 @@ sub install_db ($$) {
my $bootstrap_sql_file= "$opt_vardir/tmp/bootstrap.sql";
# Use the mysql database for system tables
mtr_tofile($bootstrap_sql_file, "use mysql");
mtr_tofile($bootstrap_sql_file, "use mysql;\n");
# Add the offical mysql system tables
# for a production system