~thomir-deactivatedaccount/drizzle/drizzle-fix-bug653747

« back to all changes in this revision

Viewing changes to plugin/user_locks/tests/r/release_lock.result

  • Committer: Brian Aker
  • Date: 2010-10-10 02:07:52 UTC
  • mfrom: (1827.2.3 staging)
  • Revision ID: brian@tangent.org-20101010020752-ktv73isay5dxtvp3
Merge in switch on table_share_instance inheritance.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
SET @lock_name="release_lock_test";
2
 
SELECT get_lock(@lock_name);
3
 
get_lock(@lock_name)
4
 
1
5
 
SELECT if ((is_used_lock(@lock_name) = CONNECTION_ID()), "YES", "NO");
6
 
if ((is_used_lock(@lock_name) = CONNECTION_ID()), "YES", "NO")
7
 
YES
8
 
SELECT release_lock(@lock_name);
9
 
release_lock(@lock_name)
10
 
1
11
 
SELECT is_used_lock(@lock_name);
12
 
is_used_lock(@lock_name)
13
 
NULL
14
 
SELECT release_lock(@lock_name);
15
 
release_lock(@lock_name)
16
 
NULL