summaryrefslogtreecommitdiff
path: root/mysys/thr_lock.c
diff options
context:
space:
mode:
authormonty@hundin.mysql.fi <>2001-11-26 02:16:38 +0200
committermonty@hundin.mysql.fi <>2001-11-26 02:16:38 +0200
commit5738117970c8007fd9db6143e874e896ae913cfa (patch)
tree1f8e0f608f035ad5906f6ea2dbbb3006ea2703bd /mysys/thr_lock.c
parenta2a838f88769dea90a0ba5a7196057eec6ca8c11 (diff)
downloadmariadb-git-5738117970c8007fd9db6143e874e896ae913cfa.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.
Diffstat (limited to 'mysys/thr_lock.c')
-rw-r--r--mysys/thr_lock.c3
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
*/