summaryrefslogtreecommitdiff
path: root/sql/slave.cc
diff options
context:
space:
mode:
authorunknown <stewart@mysql.com>2005-07-14 17:35:41 +1000
committerunknown <stewart@mysql.com>2005-07-14 17:35:41 +1000
commit7c57549a58ca48a2eca651e15191034405db055e (patch)
treebd9ca49886f328ae5b597f08bf1faf809eed8cf2 /sql/slave.cc
parentc663aa896194ee7320b1c17b8a598d5713d32bce (diff)
parent7f8b23344a0a4031098d2b543269d3ae07ff0200 (diff)
downloadmariadb-git-7c57549a58ca48a2eca651e15191034405db055e.tar.gz
Merge mysql.com:/home/stewart/Documents/MySQL/4.0/main
into mysql.com:/home/stewart/Documents/MySQL/4.1/main sql/slave.cc: Auto merged
Diffstat (limited to 'sql/slave.cc')
-rw-r--r--sql/slave.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/slave.cc b/sql/slave.cc
index 68769fc1f98..b0d219e5dd5 100644
--- a/sql/slave.cc
+++ b/sql/slave.cc
@@ -3333,6 +3333,7 @@ err:
net_end(&thd->net); // destructor will not free it, because net.vio is 0
pthread_mutex_lock(&LOCK_thread_count);
THD_CHECK_SENTRY(thd);
+ close_thread_tables(thd);
delete thd;
pthread_mutex_unlock(&LOCK_thread_count);
pthread_cond_broadcast(&mi->stop_cond); // tell the world we are done