summaryrefslogtreecommitdiff
path: root/mysql-test/t/mysql.test
diff options
context:
space:
mode:
authorunknown <msvensson@pilot.mysql.com>2007-11-26 19:50:43 +0100
committerunknown <msvensson@pilot.mysql.com>2007-11-26 19:50:43 +0100
commit53cf19216fb06d794fbdab56f2fb34b3e327b66b (patch)
tree6c2250574e920370dd1ff0ea0d37cf9ef78a293e /mysql-test/t/mysql.test
parent835dcc09710f12302e8cbdeaece18a03cc8081f4 (diff)
downloadmariadb-git-53cf19216fb06d794fbdab56f2fb34b3e327b66b.tar.gz
Bug#25146 Some warnings/errors not shown when using --show-warnings
- Additional patch to fix compiler warnings client/mysql.cc: Initialize warnings to 0 to avid compiler warning Call 'print_warnings' also when error occured mysql-test/r/mysql.result: Change test to make is possible to see that second set of warnings are from second invocation of mysql mysql-test/t/mysql.test: Change test to make is possible to see that second set of warnings are from second invocation of mysql
Diffstat (limited to 'mysql-test/t/mysql.test')
-rw-r--r--mysql-test/t/mysql.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysql-test/t/mysql.test b/mysql-test/t/mysql.test
index 05710f44f46..528337da77b 100644
--- a/mysql-test/t/mysql.test
+++ b/mysql-test/t/mysql.test
@@ -312,7 +312,7 @@ remove_file $MYSQLTEST_VARDIR/tmp/bug29323.sql;
# This should fail, with warnings as well
--error 1
---exec $MYSQL --show-warnings test -e "create table t2 (id int) engine=nonexistent"
+--exec $MYSQL --show-warnings test -e "create table t2 (id int) engine=nonexistent2"
drop tables t1, t2;