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

Refs codership/wsrep-API#21 added support for the IMPLICIT_DEPS WS flag

This commit is contained in:
Alexey Yurchenko
2018-11-22 17:16:28 +02:00
committed by Daniele Sciascia
parent 8ffad51822
commit fd07ff12e4
6 changed files with 28 additions and 3 deletions

View File

@ -219,6 +219,7 @@ namespace wsrep
static const int native = (1 << 6);
static const int prepare = (1 << 7);
static const int snapshot = (1 << 8);
static const int implicit_deps = (1 << 9);
};
/**

View File

@ -109,6 +109,9 @@ namespace wsrep
bool pa_unsafe() const { return pa_unsafe_; }
void pa_unsafe(bool pa_unsafe) { pa_unsafe_ = pa_unsafe; }
bool implicit_deps() const { return implicit_deps_; }
void implicit_deps(bool implicit) { implicit_deps_ = implicit; }
int start_transaction(const wsrep::transaction_id& id);
int start_transaction(const wsrep::ws_handle& ws_handle,
@ -204,6 +207,7 @@ namespace wsrep
wsrep::ws_meta ws_meta_;
int flags_;
bool pa_unsafe_;
bool implicit_deps_;
bool certified_;
wsrep::streaming_context streaming_context_;
wsrep::sr_key_set sr_keys_;