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

Review fixes

* Move resetting is_bf_immutable_ into trasaction::cleanup()
  to ensure that it is reset to false regardless how the
  transaction terminates.
* Removed redundant lock()/unlock() methods from
  mock_client_state.
This commit is contained in:
Teemu Ollakka
2023-05-16 19:16:55 +03:00
parent b76e94f84a
commit e238c0d240
2 changed files with 1 additions and 4 deletions

View File

@ -49,8 +49,6 @@ namespace wsrep
(void)client_service().bf_rollback();
}
}
void lock() { mutex_.lock(); }
void unlock() { mutex_.unlock(); }
private:
wsrep::default_mutex mutex_;
wsrep::default_condition_variable cond_;