1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

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

This commit is contained in:
Magnus Svensson
2008-08-09 11:29:35 +02:00
parent cd0cd4e0a0
commit 95dbffe2f5
2 changed files with 3 additions and 2 deletions

View File

@ -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;

View File

@ -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