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

Made transaction streaming context private and provided accessor method.

This commit is contained in:
Teemu Ollakka
2018-07-09 08:49:29 +03:00
parent 7c424d8337
commit 95dbab4c08
5 changed files with 62 additions and 36 deletions

View File

@ -135,6 +135,10 @@ namespace wsrep
wsrep::ws_handle& ws_handle() { return ws_handle_; }
const wsrep::ws_handle& ws_handle() const { return ws_handle_; }
const wsrep::ws_meta& ws_meta() const { return ws_meta_; }
const wsrep::streaming_context& streaming_context() const
{ return streaming_context_; }
wsrep::streaming_context& streaming_context()
{ return streaming_context_; }
private:
transaction(const transaction&);
transaction operator=(const transaction&);
@ -162,7 +166,6 @@ namespace wsrep
int flags_;
bool pa_unsafe_;
bool certified_;
public:
wsrep::streaming_context streaming_context_;
};