~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Brian Aker
  • Date: 2010-10-15 02:39:18 UTC
  • mfrom: (1823.6.9 users_locks)
  • Revision ID: brian@tangent.org-20101015023918-p6o0hp1fdmiwwm0d
MErge in user locks.

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