~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/user_locks/tests/t/dangling_barrier.test

  • Committer: Brian Aker
  • Date: 2010-11-17 21:25:31 UTC
  • mto: (1939.1.1 quick)
  • mto: This revision was merged to the branch mainline in revision 1940.
  • Revision ID: brian@tangent.org-20101117212531-va13j4xh43zuma68
First pass though barriers.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# The goal is to create a "dangling lock". We should be cleaning up locks on
 
2
# exit, and this will tell us (via valgrind) if that is happending.
 
3
set @lock_name= "dangling_barrier";
 
4
SELECT get_lock(@lock_name);
 
5
#SELECT if ((is_used_lock(@lock_name) = CONNECTION_ID()), "YES", "NO");