mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-07-30 07:23:07 +03:00
Add method transaction::has_key()
Add a method to check if transaction has appended a given key in its sr_key_set.
This commit is contained in:
@ -36,6 +36,7 @@ namespace wsrep
|
||||
: root_()
|
||||
{ }
|
||||
void insert(const wsrep::key& key);
|
||||
bool contains(const wsrep::key& key) const;
|
||||
const branch_type& root() const { return root_; }
|
||||
void clear();
|
||||
bool empty() const { return root_.empty(); }
|
||||
|
@ -171,6 +171,8 @@ namespace wsrep
|
||||
|
||||
int append_key(const wsrep::key&);
|
||||
|
||||
bool has_key(const wsrep::key&) const;
|
||||
|
||||
int append_data(const wsrep::const_buffer&);
|
||||
|
||||
int after_row();
|
||||
|
Reference in New Issue
Block a user