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
This commit is contained in:
unknown 2005-07-14 17:35:41 +10:00
commit 7c57549a58

View file

@ -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