1
0
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:
Teemu Ollakka
2018-07-06 15:42:03 +03:00
parent 5ef2c956a9
commit e876418ed3
8 changed files with 31 additions and 15 deletions

View File

@ -31,7 +31,7 @@ int wsrep::mock_client_service::commit(
return ret;
}
int wsrep::mock_client_service::rollback()
int wsrep::mock_client_service::bf_rollback()
{
int ret(0);
if (client_state_.before_rollback())