Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
b00df53a
Commit
b00df53a
authored
May 06, 2006
by
kroki@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/home/tomash/src/mysql_ab/mysql-4.1
into mysql.com:/home/tomash/src/mysql_ab/mysql-4.1-bug16501
parents
d87e1323
bf9ccde9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
mysql-test/r/func_misc.result
mysql-test/r/func_misc.result
+2
-2
mysql-test/t/func_misc.test
mysql-test/t/func_misc.test
+3
-1
No files found.
mysql-test/r/func_misc.result
View file @
b00df53a
...
@@ -76,13 +76,13 @@ IS_USED_LOCK('bug16501') = CONNECTION_ID()
...
@@ -76,13 +76,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
...
...
mysql-test/t/func_misc.test
View file @
b00df53a
...
@@ -66,12 +66,14 @@ send SELECT GET_LOCK('bug16501',600);
...
@@ -66,12 +66,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'
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment