summaryrefslogtreecommitdiff
path: root/sql/service_wsrep.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/service_wsrep.cc')
-rw-r--r--sql/service_wsrep.cc10
1 files changed, 1 insertions, 9 deletions
diff --git a/sql/service_wsrep.cc b/sql/service_wsrep.cc
index b24f3cb511a..36ea311f59f 100644
--- a/sql/service_wsrep.cc
+++ b/sql/service_wsrep.cc
@@ -196,18 +196,10 @@ extern "C" void wsrep_handle_SR_rollback(THD *bf_thd,
}
}
-extern "C" my_bool wsrep_thd_bf_abort(const THD *bf_thd, THD *victim_thd,
+extern "C" my_bool wsrep_thd_bf_abort(THD *bf_thd, THD *victim_thd,
my_bool signal)
{
- /* Note: do not store/reset globals before wsrep_bf_abort() call
- to avoid losing BF thd context. */
- if (WSREP(victim_thd) && !victim_thd->wsrep_trx().active())
- {
- WSREP_DEBUG("BF abort for non active transaction");
- wsrep_start_transaction(victim_thd, victim_thd->wsrep_next_trx_id());
- }
my_bool ret= wsrep_bf_abort(bf_thd, victim_thd);
- wsrep_store_threadvars((THD*)bf_thd);
/*
Send awake signal if victim was BF aborted or does not
have wsrep on. Note that this should never interrupt RSU