Commit 95dbffe2 authored by Magnus Svensson's avatar Magnus Svensson

Improve printout for 'found warnings' and add an exit to please mysqltest

parent cd0cd4e0
...@@ -8,5 +8,6 @@ call mtr.check_warnings(@result); ...@@ -8,5 +8,6 @@ call mtr.check_warnings(@result);
if (`select @result = 0`){ if (`select @result = 0`){
skip OK; skip OK;
} }
echo Found warnings;
--enable_query_log --enable_query_log
echo ^ Found warnings!!;
exit;
...@@ -278,7 +278,7 @@ BEGIN ...@@ -278,7 +278,7 @@ BEGIN
SELECT @log_error; SELECT @log_error;
SELECT line as log_error SELECT line as log_error
FROM suspect_lines WHERE supressed=0; FROM suspect_lines WHERE supressed=0;
SELECT * FROM test_supressions; --SELECT * FROM test_supressions;
-- Return 2 -> check failed -- Return 2 -> check failed
SELECT 2 INTO result; SELECT 2 INTO result;
ELSE ELSE
......
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