Commit 2ff00faf authored by unknown's avatar unknown

comment to user-level lock added

parent 7dc82927
...@@ -505,6 +505,11 @@ class THD :public ilink ...@@ -505,6 +505,11 @@ class THD :public ilink
// TODO: document the variables below // TODO: document the variables below
MYSQL_LOCK *lock; /* Current locks */ MYSQL_LOCK *lock; /* Current locks */
MYSQL_LOCK *locked_tables; /* Tables locked with LOCK */ MYSQL_LOCK *locked_tables; /* Tables locked with LOCK */
/*
One thread can hold up to one named user-level lock. This variable
points to a lock object if the lock is present. See item_func.cc and
chapter 'Miscellaneous functions', for functions GET_LOCK, RELEASE_LOCK.
*/
ULL *ull; ULL *ull;
PREP_STMT *last_prepared_stmt; PREP_STMT *last_prepared_stmt;
#ifndef DBUG_OFF #ifndef DBUG_OFF
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment