Rearrange disable_warnings to enclose the warning emitters properly.

parent 85eb07ff
...@@ -1171,10 +1171,9 @@ deallocate prepare stmt2; ...@@ -1171,10 +1171,9 @@ deallocate prepare stmt2;
# Protect ourselves from data left in tmp/ by a previos possibly failed # Protect ourselves from data left in tmp/ by a previos possibly failed
# test # test
--system rm -f $MYSQLTEST_VARDIR/tmp/t1.* --system rm -f $MYSQLTEST_VARDIR/tmp/t1.*
--disable_query_log
--disable_warnings --disable_warnings
--disable_query_log
eval prepare stmt from "create table t1 (c char(10)) data directory='$MYSQLTEST_VARDIR/tmp'"; eval prepare stmt from "create table t1 (c char(10)) data directory='$MYSQLTEST_VARDIR/tmp'";
--enable_warnings
--enable_query_log --enable_query_log
execute stmt; execute stmt;
# #
...@@ -1192,6 +1191,7 @@ execute stmt; ...@@ -1192,6 +1191,7 @@ execute stmt;
--disable_result_log --disable_result_log
show create table t1; show create table t1;
--enable_result_log --enable_result_log
--enable_warnings
drop table t1; drop table t1;
deallocate prepare stmt; deallocate prepare stmt;
......
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