mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Fix return code from check-warnings to indicate if test failed or not.
No more string matching mysql-test/include/check-warnings.test: Check return value from check_warnings and call skip if ok mysql-test/include/mtr_check.sql: Improve readability mysql-test/include/mtr_warnings.sql: Add out parameter for result. Increase the max_allowed_packet variable so the load_file works even if the server is started with low such value
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user