Commit c27793a3 authored by unknown's avatar unknown

Merge mysql.com:/home/tomash/src/mysql_ab/tmp_merge

into  mysql.com:/home/tomash/src/mysql_ab/mysql-5.0-merge


mysql-test/r/func_misc.result:
  Auto merged
mysql-test/t/func_misc.test:
  Auto merged
parents f9112ce6 253c6133
...@@ -70,13 +70,13 @@ IS_USED_LOCK('bug16501') = CONNECTION_ID() ...@@ -70,13 +70,13 @@ IS_USED_LOCK('bug16501') = CONNECTION_ID()
SELECT RELEASE_LOCK('bug16501'); SELECT RELEASE_LOCK('bug16501');
RELEASE_LOCK('bug16501') RELEASE_LOCK('bug16501')
1 1
GET_LOCK('bug16501',600)
1
SELECT IS_USED_LOCK('bug16501') = connection_id SELECT IS_USED_LOCK('bug16501') = connection_id
FROM t1 FROM t1
WHERE conn = 'con1'; WHERE conn = 'con1';
IS_USED_LOCK('bug16501') = connection_id IS_USED_LOCK('bug16501') = connection_id
1 1
GET_LOCK('bug16501',600)
1
SELECT IS_USED_LOCK('bug16501') = CONNECTION_ID(); SELECT IS_USED_LOCK('bug16501') = CONNECTION_ID();
IS_USED_LOCK('bug16501') = CONNECTION_ID() IS_USED_LOCK('bug16501') = CONNECTION_ID()
1 1
......
...@@ -61,12 +61,14 @@ send SELECT GET_LOCK('bug16501',600); ...@@ -61,12 +61,14 @@ send SELECT GET_LOCK('bug16501',600);
connection default; connection default;
SELECT IS_USED_LOCK('bug16501') = CONNECTION_ID(); SELECT IS_USED_LOCK('bug16501') = CONNECTION_ID();
SELECT RELEASE_LOCK('bug16501'); SELECT RELEASE_LOCK('bug16501');
connection con1;
reap;
connection default;
SELECT IS_USED_LOCK('bug16501') = connection_id SELECT IS_USED_LOCK('bug16501') = connection_id
FROM t1 FROM t1
WHERE conn = 'con1'; WHERE conn = 'con1';
connection con1; connection con1;
reap;
SELECT IS_USED_LOCK('bug16501') = CONNECTION_ID(); SELECT IS_USED_LOCK('bug16501') = CONNECTION_ID();
SELECT RELEASE_LOCK('bug16501'); SELECT RELEASE_LOCK('bug16501');
SELECT IS_USED_LOCK('bug16501'); SELECT IS_USED_LOCK('bug16501');
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment