diff options
author | unknown <sasha@mysql.sashanet.com> | 2001-01-27 15:33:31 -0700 |
---|---|---|
committer | unknown <sasha@mysql.sashanet.com> | 2001-01-27 15:33:31 -0700 |
commit | dbe03fb0bce93ae750db6c0cd346e87bc82201ab (patch) | |
tree | b2d2f6b0dd73eec46bc4a16978de2f24b148927a /include/thr_lock.h | |
parent | eb5706d128539f1aa98690793e9344df280f98c8 (diff) | |
download | mariadb-git-dbe03fb0bce93ae750db6c0cd346e87bc82201ab.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
Docs/manual.texi:
updates for Table_locks_immediate and Table_locks_waited
include/thr_lock.h:
fixes suggested by Monty to lock counts
mysql-test/r/status.result:
clean up of result for changes in the test case
mysql-test/t/status.test:
make it produce the same results if the had been some activity on the server already
mysys/thr_lock.c:
fixes suggested by Monty
sql/mysqld.cc:
fixes suggested by Monty
sql/slave.cc:
fixed bug in processing STOP event after rotate
sql/sql_base.cc:
fixes suggested by Monty
sql/sql_parse.cc:
fixed coredump in drop database with long name by a non-root user
sql/sql_repl.cc:
better status message
Diffstat (limited to 'include/thr_lock.h')
-rw-r--r-- | include/thr_lock.h | 3 |
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 */ |