summaryrefslogtreecommitdiff
path: root/sql/sql_base.cc
diff options
context:
space:
mode:
authorMichael Widenius <monty@askmonty.org>2011-09-10 18:01:27 +0300
committerMichael Widenius <monty@askmonty.org>2011-09-10 18:01:27 +0300
commit3fb22ac5e146e1fe34d282c3c3ef6bd50af90ca5 (patch)
tree4f069ae5398a3e17417f942cb6926c66efe968a6 /sql/sql_base.cc
parent3769841d9e706ee018d5273d2901954b9a281c3e (diff)
parent0db9c26b05439f9d6fc29234966f50d8e393dfe2 (diff)
downloadmariadb-git-3fb22ac5e146e1fe34d282c3c3ef6bd50af90ca5.tar.gz
Merge with 5.2
Diffstat (limited to 'sql/sql_base.cc')
-rw-r--r--sql/sql_base.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_base.cc b/sql/sql_base.cc
index 9268fe53167..bca8167f2b9 100644
--- a/sql/sql_base.cc
+++ b/sql/sql_base.cc
@@ -8896,7 +8896,7 @@ bool remove_table_from_cache(THD *thd, const char *db, const char *table_name,
{
if (!in_use->killed)
{
- in_use->killed= THD::KILL_CONNECTION;
+ in_use->killed= THD::KILL_SYSTEM_THREAD;
pthread_mutex_lock(&in_use->mysys_var->mutex);
if (in_use->mysys_var->current_cond)
{
@@ -9230,7 +9230,7 @@ void mysql_wait_completed_table(ALTER_PARTITION_PARAM_TYPE *lpt, TABLE *my_table
if ((in_use->system_thread & SYSTEM_THREAD_DELAYED_INSERT) &&
! in_use->killed)
{
- in_use->killed= THD::KILL_CONNECTION;
+ in_use->killed= THD::KILL_SYSTEM_THREAD;
pthread_mutex_lock(&in_use->mysys_var->mutex);
if (in_use->mysys_var->current_cond)
{