mirror of
https://github.com/MariaDB/server.git
synced 2026-04-29 03:35:34 +02:00
Fixed main.null failure in embedded
It is not permitted to "delete thd" under LOCK_thread_count anymore.
This commit is contained in:
parent
2552a95621
commit
b97e45f7b8
1 changed files with 1 additions and 1 deletions
|
|
@ -428,8 +428,8 @@ static void emb_free_embedded_thd(MYSQL *mysql)
|
|||
thread_count--;
|
||||
thd->store_globals();
|
||||
thd->unlink();
|
||||
delete thd;
|
||||
mysql_mutex_unlock(&LOCK_thread_count);
|
||||
delete thd;
|
||||
my_pthread_setspecific_ptr(THR_THD, 0);
|
||||
mysql->thd=0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue