summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorsasha@mysql.sashanet.com <>2001-01-27 15:33:31 -0700
committersasha@mysql.sashanet.com <>2001-01-27 15:33:31 -0700
commit70f619856b0692c4f0df13065e54670bb56ec52d (patch)
treeb2d2f6b0dd73eec46bc4a16978de2f24b148927a /include
parent5f6561ec885e200b7e5c6fd7907d8f3388d348ad (diff)
downloadmariadb-git-70f619856b0692c4f0df13065e54670bb56ec52d.tar.gz
fixed up lock counting code - Monty's suggestions
updated manual about table lock counter fixed coredump in DROP DATABASE with long bogus name by non-root user fixed bug in handling STOP immediately after ROTATE added test case for buffer overrun on DROP DATABASE by non-root user added test case for the STOP bug in replication
Diffstat (limited to 'include')
-rw-r--r--include/thr_lock.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/thr_lock.h b/include/thr_lock.h
index 569a09d7aa5..ffcad4a4d11 100644
--- a/include/thr_lock.h
+++ b/include/thr_lock.h
@@ -27,7 +27,8 @@ extern "C" {
#include <my_list.h>
struct st_thr_lock;
-
+extern ulong locks_immediate,locks_waited ;
+
enum thr_lock_type { TL_IGNORE=-1,
TL_UNLOCK, /* UNLOCK ANY LOCK */
TL_READ, /* Read lock */