summaryrefslogtreecommitdiff
path: root/sql/sql_class.h
diff options
context:
space:
mode:
authorunknown <konstantin@oak.local>2003-12-04 19:12:01 +0300
committerunknown <konstantin@oak.local>2003-12-04 19:12:01 +0300
commit270b72ff4f5d59442800347be1db3ab7e3084c95 (patch)
tree32ea70364f00199eabbe41311eb10049f35cebe7 /sql/sql_class.h
parent2e939d77dfbfff131a87dbeb30adc5d65393d3bc (diff)
downloadmariadb-git-270b72ff4f5d59442800347be1db3ab7e3084c95.tar.gz
comment to user-level lock added
Diffstat (limited to 'sql/sql_class.h')
-rw-r--r--sql/sql_class.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/sql_class.h b/sql/sql_class.h
index beb2de9c0a9..3ffff6f1871 100644
--- a/sql/sql_class.h
+++ b/sql/sql_class.h
@@ -505,6 +505,11 @@ public:
// TODO: document the variables below
MYSQL_LOCK *lock; /* Current locks */
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;
PREP_STMT *last_prepared_stmt;
#ifndef DBUG_OFF