mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-07-30 07:23:07 +03:00
* Renamed client service rollback() to bf_rollback() to better
describe its purpose. * Raise deadlock error for BF aborted transaction in after_statement() call if the error is not set yet.
This commit is contained in:
@ -28,7 +28,7 @@ namespace wsrep
|
||||
{
|
||||
if (transaction().active())
|
||||
{
|
||||
(void)client_service().rollback();
|
||||
(void)client_service().bf_rollback();
|
||||
}
|
||||
}
|
||||
private:
|
||||
@ -66,7 +66,7 @@ namespace wsrep
|
||||
int commit(const wsrep::ws_handle&, const wsrep::ws_meta&)
|
||||
WSREP_OVERRIDE;
|
||||
|
||||
int rollback() WSREP_OVERRIDE;
|
||||
int bf_rollback() WSREP_OVERRIDE;
|
||||
|
||||
bool is_autocommit() const WSREP_OVERRIDE
|
||||
{ return is_autocommit_; }
|
||||
|
Reference in New Issue
Block a user