mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 21:12:26 +01:00
Merge mysql.com:/home/tomash/src/mysql_ab/mysql-4.1
into mysql.com:/home/tomash/src/mysql_ab/mysql-4.1-bug16501
This commit is contained in:
commit
e00d7c1bf3
2 changed files with 5 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -66,12 +66,14 @@ send SELECT GET_LOCK('bug16501',600);
|
|||
connection default;
|
||||
SELECT IS_USED_LOCK('bug16501') = CONNECTION_ID();
|
||||
SELECT RELEASE_LOCK('bug16501');
|
||||
connection con1;
|
||||
reap;
|
||||
connection default;
|
||||
SELECT IS_USED_LOCK('bug16501') = connection_id
|
||||
FROM t1
|
||||
WHERE conn = 'con1';
|
||||
|
||||
connection con1;
|
||||
reap;
|
||||
SELECT IS_USED_LOCK('bug16501') = CONNECTION_ID();
|
||||
SELECT RELEASE_LOCK('bug16501');
|
||||
SELECT IS_USED_LOCK('bug16501');
|
||||
|
|
Loading…
Reference in a new issue