1
0
mirror of https://github.com/codership/wsrep-lib.git synced 2025-08-06 15:02:41 +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:
Daniele Sciascia
2024-12-24 11:54:29 +01:00
parent 1c61b809d1
commit fd1128622f
6 changed files with 103 additions and 0 deletions

View File

@@ -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(); }