1
0
mirror of https://github.com/codership/wsrep-lib.git synced 2025-07-30 07:23:07 +03:00

codership/wsrep-lib#52 Removed client_service do_2pc()

This commit is contained in:
Teemu Ollakka
2019-01-16 15:00:20 +02:00
parent 89b3561ad8
commit 55f6c63328
8 changed files with 5 additions and 20 deletions

View File

@ -48,7 +48,7 @@ int wsrep::mock_high_priority_service::commit(
{
int ret(0);
client_state_->prepare_for_ordering(ws_handle, ws_meta, true);
if (client_state_->client_service().do_2pc())
if (do_2pc_)
{
ret = client_state_->before_prepare() ||
client_state_->after_prepare();