mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Fix race condition in the test for bug#16501.
This commit is contained in:
@ -76,13 +76,13 @@ IS_USED_LOCK('bug16501') = CONNECTION_ID()
|
||||
SELECT RELEASE_LOCK('bug16501');
|
||||
RELEASE_LOCK('bug16501')
|
||||
1
|
||||
GET_LOCK('bug16501',600)
|
||||
1
|
||||
SELECT IS_USED_LOCK('bug16501') = connection_id
|
||||
FROM t1
|
||||
WHERE conn = 'con1';
|
||||
IS_USED_LOCK('bug16501') = connection_id
|
||||
1
|
||||
GET_LOCK('bug16501',600)
|
||||
1
|
||||
SELECT IS_USED_LOCK('bug16501') = CONNECTION_ID();
|
||||
IS_USED_LOCK('bug16501') = CONNECTION_ID()
|
||||
1
|
||||
|
Reference in New Issue
Block a user