Commit c877610e authored by Sergei Golubchik's avatar Sergei Golubchik

wsrep: ha_abort_transaction() does NOT end the transaction

parent 8e764986
...@@ -6034,6 +6034,9 @@ void handler::set_lock_type(enum thr_lock_type lock) ...@@ -6034,6 +6034,9 @@ void handler::set_lock_type(enum thr_lock_type lock)
implementing the wsrep API should provide this service to support implementing the wsrep API should provide this service to support
multi-master operation. multi-master operation.
@note Aborting the transaction does NOT end it, it still has to
be rolled back with hton->rollback().
@param bf_thd brute force THD asking for the abort @param bf_thd brute force THD asking for the abort
@param victim_thd victim THD to be aborted @param victim_thd victim THD to be aborted
...@@ -6061,7 +6064,6 @@ int ha_abort_transaction(THD *bf_thd, THD *victim_thd, my_bool signal) ...@@ -6061,7 +6064,6 @@ int ha_abort_transaction(THD *bf_thd, THD *victim_thd, my_bool signal)
else else
hton->abort_transaction(hton, bf_thd, victim_thd, signal); hton->abort_transaction(hton, bf_thd, victim_thd, signal);
ha_info_next= ha_info->next(); ha_info_next= ha_info->next();
ha_info->reset(); /* keep it conveniently zero-filled */
} }
DBUG_RETURN(0); DBUG_RETURN(0);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment