mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-07-28 20:02:00 +03:00
Added is_empty() method to transaction class
Method is_empty() can be determined if there have no been changes to the transaction.
This commit is contained in:
@ -51,6 +51,7 @@ namespace wsrep
|
||||
|
||||
const branch_type& root() const { return root_; }
|
||||
void clear() { root_.clear(); }
|
||||
bool empty() const { return root_.empty(); }
|
||||
private:
|
||||
branch_type root_;
|
||||
};
|
||||
|
Reference in New Issue
Block a user