Browse Source

wsrep: ha_abort_transaction() does NOT end the transaction

replace/d7d589dc01f6d70d1518b74d46fd3b75e76267f5
Sergei Golubchik 11 years ago
parent
commit
c877610e16
  1. 4
      sql/handler.cc

4
sql/handler.cc

@ -6034,6 +6034,9 @@ void handler::set_lock_type(enum thr_lock_type lock)
implementing the wsrep API should provide this service to support
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 victim_thd victim THD to be aborted
@ -6061,7 +6064,6 @@ int ha_abort_transaction(THD *bf_thd, THD *victim_thd, my_bool signal)
else
hton->abort_transaction(hton, bf_thd, victim_thd, signal);
ha_info_next= ha_info->next();
ha_info->reset(); /* keep it conveniently zero-filled */
}
DBUG_RETURN(0);
}

Loading…
Cancel
Save