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:
@ -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
|
|||||||
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
|
||||||
|
Reference in New Issue
Block a user