summaryrefslogtreecommitdiff
path: root/sql/handler.cc
diff options
context:
space:
mode:
authorNirbhay Choubey <nirbhay@mariadb.com>2016-04-30 21:47:35 -0400
committerNirbhay Choubey <nirbhay@mariadb.com>2016-04-30 21:47:35 -0400
commitd6ba30890c6ae63b54e7f5321e7174bfbdd85367 (patch)
tree880b0bdf35137570cf885c2c11de396c500ea4e2 /sql/handler.cc
parent9f5b285662ed8c13d6e87d8baf2f0ad4484d4a85 (diff)
downloadmariadb-git-hf-10.1-mdev9853.tar.gz
MDEV-9853: WSREP says it cannot get fake InnoDB transaction ID followed by segmentation faulthf-10.1-mdev9853
Ha_trx_info should not be reset in ha_fake_trx_id() as it is later used during commit.
Diffstat (limited to 'sql/handler.cc')
-rw-r--r--sql/handler.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/sql/handler.cc b/sql/handler.cc
index fb2921f9ba3..1866e1eafbc 100644
--- a/sql/handler.cc
+++ b/sql/handler.cc
@@ -6121,7 +6121,6 @@ void ha_fake_trx_id(THD *thd)
else
hton->fake_trx_id(hton, thd);
ha_info_next= ha_info->next();
- ha_info->reset(); /* keep it conveniently zero-filled */
}
DBUG_VOID_RETURN;
}