mirror of
https://github.com/MariaDB/server.git
synced 2026-05-04 06:05:32 +02:00
Merge xiphis.org:/home/antony/work2/mysql-5.1-engines
into xiphis.org:/home/antony/work2/mysql-5.1-engines-merge include/mysql.h: Auto merged mysql-test/Makefile.am: Auto merged sql/opt_range.cc: Auto merged sql/sql_class.h: Auto merged sql/sql_insert.cc: Auto merged sql/sql_parse.cc: Auto merged storage/federated/ha_federated.cc: Auto merged storage/myisam/mi_check.c: Auto merged storage/myisam/mi_dynrec.c: Auto merged storage/myisam/mi_packrec.c: Auto merged storage/myisam/mi_range.c: Auto merged storage/myisam/mi_test1.c: Auto merged storage/myisam/mi_write.c: Auto merged storage/myisam/rt_split.c: Auto merged configure.in: fix merge conflict
This commit is contained in:
commit
fcbfb41f30
21 changed files with 650 additions and 80 deletions
|
|
@ -1807,8 +1807,6 @@ void kill_delayed_threads(void)
|
|||
delayed_insert *tmp;
|
||||
while ((tmp=it++))
|
||||
{
|
||||
/* Ensure that the thread doesn't kill itself while we are looking at it */
|
||||
pthread_mutex_lock(&tmp->mutex);
|
||||
tmp->thd.killed= THD::KILL_CONNECTION;
|
||||
if (tmp->thd.mysys_var)
|
||||
{
|
||||
|
|
@ -1827,7 +1825,6 @@ void kill_delayed_threads(void)
|
|||
}
|
||||
pthread_mutex_unlock(&tmp->thd.mysys_var->mutex);
|
||||
}
|
||||
pthread_mutex_unlock(&tmp->mutex);
|
||||
}
|
||||
VOID(pthread_mutex_unlock(&LOCK_delayed_insert)); // For unlink from list
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue