mirror of
https://github.com/MariaDB/server.git
synced 2026-05-14 19:07:15 +02:00
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: 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.
This commit is contained in:
parent
5abbffd702
commit
d9da27db27
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue