From 91d1cf4931cbb4697bc5a2ac2744a803af29cf9c Mon Sep 17 00:00:00 2001 From: "guilhem@mysql.com" <> Date: Thu, 24 Feb 2005 19:13:55 +0100 Subject: [PATCH] Fix for BUG#8783 kill.test must always sleep 2 seconds, even if mysql-test-run runs with --sleep=10; otherwise GET_LOCK() times out before being killed so we get 0 instead of NULL. Verified that it works on our powermacg5 where the test was failing. --- mysql-test/t/kill.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mysql-test/t/kill.test b/mysql-test/t/kill.test index c8adff32eb7..8a9d96d4946 100644 --- a/mysql-test/t/kill.test +++ b/mysql-test/t/kill.test @@ -44,7 +44,7 @@ select get_lock("a", 10); connection con2; let $ID= `select connection_id()`; send select get_lock("a", 10); --- sleep 2 +--real_sleep 2; connection con1; disable_query_log; eval kill query $ID;