mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-07-31 18:24:25 +03:00
Remove provider position from ws_meta and view
Provider position clutters the public interface and is not required by wsrep-API v26. Remove the position from ws_meta/view classes and deal with it internally in custom providers.
This commit is contained in:
@ -176,8 +176,7 @@ namespace
|
||||
wsrep::stid(sc.id(), wsrep::transaction_id(1), cc.id()),
|
||||
wsrep::seqno(0),
|
||||
wsrep::provider::flag::start_transaction
|
||||
| wsrep::provider::flag::commit,
|
||||
0);
|
||||
| wsrep::provider::flag::commit);
|
||||
BOOST_REQUIRE(cc.start_transaction(ws_handle, ws_meta) == 0);
|
||||
BOOST_REQUIRE(tc.active() == true);
|
||||
BOOST_REQUIRE(tc.certified() == true);
|
||||
@ -212,8 +211,7 @@ namespace
|
||||
wsrep::stid(sc.id(), wsrep::transaction_id(1), cc.id()),
|
||||
wsrep::seqno(0),
|
||||
wsrep::provider::flag::start_transaction
|
||||
| wsrep::provider::flag::commit,
|
||||
0);
|
||||
| wsrep::provider::flag::commit);
|
||||
BOOST_REQUIRE(cc.start_transaction(ws_handle, ws_meta) == 0);
|
||||
BOOST_REQUIRE(tc.active() == true);
|
||||
BOOST_REQUIRE(tc.certified() == true);
|
||||
|
Reference in New Issue
Block a user