diff options
author | unknown <monty@hundin.mysql.fi> | 2001-11-26 02:16:38 +0200 |
---|---|---|
committer | unknown <monty@hundin.mysql.fi> | 2001-11-26 02:16:38 +0200 |
commit | 4615e50093d635f07f2940bb9fbe7e1c327b8ebb (patch) | |
tree | 1f8e0f608f035ad5906f6ea2dbbb3006ea2703bd /mysys/thr_lock.c | |
parent | 7ef7d93726929ec678a8b07bed1be7bb56ad4b10 (diff) | |
download | mariadb-git-4615e50093d635f07f2940bb9fbe7e1c327b8ebb.tar.gz |
Fix race condition in ANALYZE TABLE.
Fixed bug where one got an empty set instead of a DEADLOCK error when using BDB tables.
Docs/manual.texi:
Cleanup
configure.in:
Version number change
mysql-test/t/backup.test:
drop used tables
mysql-test/t/bdb-crash.test:
cleanup
mysys/thr_lock.c:
cleanup
sql/mysqld.cc:
safety fix
sql/records.cc:
Fixed bug where one got an empty set instead of a DEADLOCK error when using
BDB tables.
sql/sql_table.cc:
Fix race condition in ANALYZE TABLE.
Diffstat (limited to 'mysys/thr_lock.c')
-rw-r--r-- | mysys/thr_lock.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mysys/thr_lock.c b/mysys/thr_lock.c index 10c803378df..aa50877072d 100644 --- a/mysys/thr_lock.c +++ b/mysys/thr_lock.c @@ -913,7 +913,8 @@ void thr_multi_unlock(THR_LOCK_DATA **data,uint count) DBUG_VOID_RETURN; } -/* Abort all threads waiting for a lock. The lock will be upgraded to a +/* + Abort all threads waiting for a lock. The lock will be upgraded to TL_WRITE_ONLY to abort any new accesses to the lock */ |