mirror of
https://github.com/MariaDB/server.git
synced 2025-02-16 18:35:34 +01:00
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:
commit
7c57549a58
1 changed files with 1 additions and 0 deletions
|
@ -3333,6 +3333,7 @@ err:
|
||||||
net_end(&thd->net); // destructor will not free it, because net.vio is 0
|
net_end(&thd->net); // destructor will not free it, because net.vio is 0
|
||||||
pthread_mutex_lock(&LOCK_thread_count);
|
pthread_mutex_lock(&LOCK_thread_count);
|
||||||
THD_CHECK_SENTRY(thd);
|
THD_CHECK_SENTRY(thd);
|
||||||
|
close_thread_tables(thd);
|
||||||
delete thd;
|
delete thd;
|
||||||
pthread_mutex_unlock(&LOCK_thread_count);
|
pthread_mutex_unlock(&LOCK_thread_count);
|
||||||
pthread_cond_broadcast(&mi->stop_cond); // tell the world we are done
|
pthread_cond_broadcast(&mi->stop_cond); // tell the world we are done
|
||||||
|
|
Loading…
Add table
Reference in a new issue