Commit aceba783 authored by Magnus Svensson's avatar Magnus Svensson
Browse files

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

parent 66b42a13
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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;
+1 −1
Original line number Diff line number Diff line
@@ -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