summaryrefslogtreecommitdiff
path: root/mysql-test
diff options
context:
space:
mode:
authorcmiller@zippy.cornsilk.net <>2007-01-19 10:33:07 -0500
committercmiller@zippy.cornsilk.net <>2007-01-19 10:33:07 -0500
commit20faa77a5f87e10785ad02566492855711916785 (patch)
tree0ec62022aa873cc9cffdbcdbc09745e1a2de57a4 /mysql-test
parent85eb07ff98ccafd99014979e481f5e873204ca60 (diff)
downloadmariadb-git-20faa77a5f87e10785ad02566492855711916785.tar.gz
Rearrange disable_warnings to enclose the warning emitters properly.
Diffstat (limited to 'mysql-test')
-rw-r--r--mysql-test/t/ps.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/mysql-test/t/ps.test b/mysql-test/t/ps.test
index bac7357b163..749864c1f59 100644
--- a/mysql-test/t/ps.test
+++ b/mysql-test/t/ps.test
@@ -1171,10 +1171,9 @@ deallocate prepare stmt2;
# Protect ourselves from data left in tmp/ by a previos possibly failed
# test
--system rm -f $MYSQLTEST_VARDIR/tmp/t1.*
---disable_query_log
--disable_warnings
+--disable_query_log
eval prepare stmt from "create table t1 (c char(10)) data directory='$MYSQLTEST_VARDIR/tmp'";
---enable_warnings
--enable_query_log
execute stmt;
#
@@ -1192,6 +1191,7 @@ execute stmt;
--disable_result_log
show create table t1;
--enable_result_log
+--enable_warnings
drop table t1;
deallocate prepare stmt;