mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-07-27 09:01:50 +03:00
Refactored seqno and id classes out of provider.hpp
This commit is contained in:
@ -12,14 +12,14 @@ void wsrep_test::bf_abort_unordered(wsrep::client_context& cc)
|
||||
{
|
||||
wsrep::unique_lock<wsrep::mutex> lock(cc.mutex());
|
||||
assert(cc.transaction().ordered() == false);
|
||||
cc.bf_abort(lock, 1);
|
||||
cc.bf_abort(lock, wsrep::seqno(1));
|
||||
}
|
||||
|
||||
void wsrep_test::bf_abort_ordered(wsrep::client_context& cc)
|
||||
{
|
||||
wsrep::unique_lock<wsrep::mutex> lock(cc.mutex());
|
||||
assert(cc.transaction().ordered());
|
||||
cc.bf_abort(lock, 0);
|
||||
cc.bf_abort(lock, wsrep::seqno(0));
|
||||
}
|
||||
// BF abort method to abort transactions via provider
|
||||
void wsrep_test::bf_abort_provider(wsrep::mock_server_context& sc,
|
||||
|
Reference in New Issue
Block a user