mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 03:17:20 +02:00
Fix return code from check-warnings to indicate if test failed or not.
No more string matching
This commit is contained in:
parent
d348362d24
commit
f4661f34a6
4 changed files with 18 additions and 16 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue