~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to docs/locks.rst

  • Committer: Andrew Hutchings
  • Date: 2010-12-09 13:44:51 UTC
  • mfrom: (1986 real-trunk)
  • mto: This revision was merged to the branch mainline in revision 2006.
  • Revision ID: andrew@linuxjedi.co.uk-20101209134451-hsu1l98ks2pwvucu
Merge trunk into branch

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
User Definied Locks
 
1
User Defined Locks
2
2
===================
3
3
 
4
4
A user can create a "lock" which is scoped to their user space. Multiple
22
22
 
23
23
SELECT release_lock_and_wait();
24
24
 
25
 
If a session should exit, whatever locks it was holdering will be deleted.
 
25
If a session should exit, whatever locks it was holding will be deleted.
26
26
 
27
 
Please note, get_lock() was designed to be compatible with MySQL, if you
 
27
Please note, get_lock() was designed to be compatible with MySQL. If you
28
28
hold any locks when calling get_lock() they will be released. For this
29
29
reason you may want to consider calling get_locks() instead.
30
30