diff options
author | Kentoku SHIBA <kentokushiba@gmail.com> | 2014-03-25 04:51:28 +0900 |
---|---|---|
committer | Kentoku SHIBA <kentokushiba@gmail.com> | 2014-03-25 04:51:28 +0900 |
commit | 1a7853ce5c9480d12a3e1245dad65431b3d3a98d (patch) | |
tree | 585aa0b78775b7018c0e1354a4f88c0f6c0113e3 /storage | |
parent | 53372af2c1a7f2cb0b3d5153337dd00531377510 (diff) | |
download | mariadb-git-1a7853ce5c9480d12a3e1245dad65431b3d3a98d.tar.gz |
fix assersion failure at recovering
Diffstat (limited to 'storage')
-rw-r--r-- | storage/spider/spd_trx.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/spider/spd_trx.cc b/storage/spider/spd_trx.cc index 1af47d0e70b..4e7f99e4a80 100644 --- a/storage/spider/spd_trx.cc +++ b/storage/spider/spd_trx.cc @@ -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; } |