1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Suppress InnoDB warning about long semaphore wait if running under Valgrind

Sometimes Valgrind could be extremely slow and could trigger the InnoDB
diagnostic message making the test to fail.
This commit is contained in:
Vasil Dimov
2011-01-12 17:53:05 +02:00
parent 7fb17e42cf
commit 634fe86056
2 changed files with 10 additions and 0 deletions

View File

@ -8,6 +8,11 @@
-- disable_query_log
-- disable_result_log
if ($VALGRIND_TEST)
{
call mtr.add_suppression("InnoDB: Warning: a long semaphore wait:");
}
SET foreign_key_checks=0;
DROP TABLE IF EXISTS bug56143_1;