summaryrefslogtreecommitdiff
path: root/sql/slave.cc
diff options
context:
space:
mode:
authormonty@mashka.mysql.fi <>2003-10-15 21:41:13 +0300
committermonty@mashka.mysql.fi <>2003-10-15 21:41:13 +0300
commit84d9d9807841cbbcb756c24ef56f0d0fe5ec3e2f (patch)
tree1cffa0627ab98f85815d577bb2824198ce5de99b /sql/slave.cc
parent4897c6649d927419d95ad9a315dc6316110be2d4 (diff)
downloadmariadb-git-84d9d9807841cbbcb756c24ef56f0d0fe5ec3e2f.tar.gz
Better fix for CREATE TABLE IF NOT EXISTS ... SELECT
Fixed chsize() problem on windows Extend default timeout on windows clients to 1 year (to avoid timeout problems)
Diffstat (limited to 'sql/slave.cc')
-rw-r--r--sql/slave.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/slave.cc b/sql/slave.cc
index 12698c8eda4..9c380408291 100644
--- a/sql/slave.cc
+++ b/sql/slave.cc
@@ -2719,6 +2719,8 @@ the slave SQL thread with \"SLAVE START\". We stopped at log \
RPL_LOG_NAME, llstr(rli->master_log_pos,llbuff));
err:
+ /* Free temporary tables etc */
+ thd->cleanup();
VOID(pthread_mutex_lock(&LOCK_thread_count));
thd->query = thd->db = 0; // extra safety
VOID(pthread_mutex_unlock(&LOCK_thread_count));