summaryrefslogtreecommitdiff
path: root/storage/spider
diff options
context:
space:
mode:
authorKentoku SHIBA <kentokushiba@gmail.com>2014-03-25 04:51:28 +0900
committerKentoku SHIBA <kentokushiba@gmail.com>2014-03-25 04:51:28 +0900
commit1a7853ce5c9480d12a3e1245dad65431b3d3a98d (patch)
tree585aa0b78775b7018c0e1354a4f88c0f6c0113e3 /storage/spider
parent53372af2c1a7f2cb0b3d5153337dd00531377510 (diff)
downloadmariadb-git-1a7853ce5c9480d12a3e1245dad65431b3d3a98d.tar.gz
fix assersion failure at recovering
Diffstat (limited to 'storage/spider')
-rw-r--r--storage/spider/spd_trx.cc2
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;
}