mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 02:05:57 +01:00
fix assersion failure at recovering
This commit is contained in:
parent
53372af2c1
commit
1a7853ce5c
1 changed files with 1 additions and 1 deletions
|
@ -3847,12 +3847,12 @@ void spider_free_tmp_thd(
|
|||
THD *thd
|
||||
) {
|
||||
DBUG_ENTER("spider_free_tmp_thd");
|
||||
thd->cleanup();
|
||||
#if defined(MARIADB_BASE_VERSION) && MYSQL_VERSION_ID >= 100000
|
||||
thd->reset_globals();
|
||||
#else
|
||||
thd->restore_globals();
|
||||
#endif
|
||||
thd->cleanup();
|
||||
delete thd;
|
||||
DBUG_VOID_RETURN;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue