summaryrefslogtreecommitdiff
path: root/include/thr_lock.h
diff options
context:
space:
mode:
authormonty@narttu.mysql.fi <>2003-03-04 12:22:35 +0200
committermonty@narttu.mysql.fi <>2003-03-04 12:22:35 +0200
commit2a7dfa172c9edf84ce503fdde37e22a8227ef9dc (patch)
tree6c1fb5d875ec9be01b82dead74784385452e9aa2 /include/thr_lock.h
parent065bcf92fb8d193508602ed9ea0bf086b21038ce (diff)
downloadmariadb-git-2a7dfa172c9edf84ce503fdde37e22a8227ef9dc.tar.gz
Fixed bug in LOCK TABLE + DROP TABLE when other thread was waiting for a table that was locked bug not droped
Diffstat (limited to 'include/thr_lock.h')
-rw-r--r--include/thr_lock.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/thr_lock.h b/include/thr_lock.h
index 6650d25e145..f1bda0ce6b4 100644
--- a/include/thr_lock.h
+++ b/include/thr_lock.h
@@ -107,6 +107,7 @@ void thr_unlock(THR_LOCK_DATA *data);
int thr_multi_lock(THR_LOCK_DATA **data,uint count);
void thr_multi_unlock(THR_LOCK_DATA **data,uint count);
void thr_abort_locks(THR_LOCK *lock);
+void thr_abort_locks_for_thread(THR_LOCK *lock, pthread_t thread);
void thr_print_locks(void); /* For debugging */
my_bool thr_upgrade_write_delay_lock(THR_LOCK_DATA *data);
my_bool thr_reschedule_write_lock(THR_LOCK_DATA *data);