diff options
Diffstat (limited to 'mysql-test/include/check-warnings.test')
-rw-r--r-- | mysql-test/include/check-warnings.test | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/mysql-test/include/check-warnings.test b/mysql-test/include/check-warnings.test index 5b451550456..e29f4300562 100644 --- a/mysql-test/include/check-warnings.test +++ b/mysql-test/include/check-warnings.test @@ -4,5 +4,9 @@ # for unexpected warnings found in the servers error log # --disable_query_log -call mtr.check_warnings(); +call mtr.check_warnings(@result); +if (`select @result = 0`){ + skip OK; +} +echo Found warnings; --enable_query_log |