From 4949ee3a75ab6c56960e8a86a6ecb1d54d17a24a Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Thu, 31 Dec 2009 14:05:33 +0100 Subject: [PATCH] possible fix for sporadic sys_vars.delayed_insert_limit_func failures --- mysql-test/suite/sys_vars/t/delayed_insert_limit_func.test | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mysql-test/suite/sys_vars/t/delayed_insert_limit_func.test b/mysql-test/suite/sys_vars/t/delayed_insert_limit_func.test index e46ebc1e598..88f247135c8 100644 --- a/mysql-test/suite/sys_vars/t/delayed_insert_limit_func.test +++ b/mysql-test/suite/sys_vars/t/delayed_insert_limit_func.test @@ -109,7 +109,8 @@ delimiter ;| --echo ** Connection con0 ** connection con0; let $wait_condition= - SELECT variable_value > 0 FROM information_schema.global_status + SELECT variable_value > @@global.delayed_insert_limit + FROM information_schema.global_status WHERE variable_name like 'Not_flushed_delayed_rows'; --source include/wait_condition.inc let $my_select= SELECT COUNT(*) FROM t1;