diff options
author | unknown <monty@hundin.mysql.fi> | 2001-09-01 10:38:16 +0300 |
---|---|---|
committer | unknown <monty@hundin.mysql.fi> | 2001-09-01 10:38:16 +0300 |
commit | 9591abbd399bb4b85db9da458fba5ed972c97afa (patch) | |
tree | c8989889543a2c502ec6a75d58738675ffac837c /sql/sql_table.cc | |
parent | 4295917682a23b6f8d493d9433b0b7c1f244c421 (diff) | |
download | mariadb-git-9591abbd399bb4b85db9da458fba5ed972c97afa.tar.gz |
Make killing of threads safer
Docs/manual.texi:
Changelog
sql/sql_insert.cc:
Fix problem with INSERT DELAYED during shutdown
Diffstat (limited to 'sql/sql_table.cc')
-rw-r--r-- | sql/sql_table.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sql/sql_table.cc b/sql/sql_table.cc index 5c3d8def542..8f4082c6688 100644 --- a/sql/sql_table.cc +++ b/sql/sql_table.cc @@ -53,11 +53,9 @@ int mysql_rm_table(THD *thd,TABLE_LIST *tables, my_bool if_exists) /* mark for close and remove all cached entries */ - pthread_mutex_lock(&thd->mysys_var->mutex); thd->mysys_var->current_mutex= &LOCK_open; thd->mysys_var->current_cond= &COND_refresh; VOID(pthread_mutex_lock(&LOCK_open)); - pthread_mutex_unlock(&thd->mysys_var->mutex); if (global_read_lock) { |