mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Improve printout for 'found warnings' and add an exit to please mysqltest
This commit is contained in:
@ -8,5 +8,6 @@ call mtr.check_warnings(@result);
|
||||
if (`select @result = 0`){
|
||||
skip OK;
|
||||
}
|
||||
echo Found warnings;
|
||||
--enable_query_log
|
||||
echo ^ Found warnings!!;
|
||||
exit;
|
||||
|
@ -278,7 +278,7 @@ BEGIN
|
||||
SELECT @log_error;
|
||||
SELECT line as log_error
|
||||
FROM suspect_lines WHERE supressed=0;
|
||||
SELECT * FROM test_supressions;
|
||||
--SELECT * FROM test_supressions;
|
||||
-- Return 2 -> check failed
|
||||
SELECT 2 INTO result;
|
||||
ELSE
|
||||
|
Reference in New Issue
Block a user