1
0
mirror of https://github.com/codership/wsrep-lib.git synced 2025-07-27 09:01:50 +03:00

Renamed invalid to undefined. More utility functions.

This commit is contained in:
Teemu Ollakka
2018-06-21 16:50:44 +03:00
parent 81ac78913a
commit 8f0e112c47
9 changed files with 48 additions and 9 deletions

View File

@ -24,7 +24,7 @@ namespace wsrep
: id_(static_cast<type>(id))
{ }
type get() const { return id_; }
static unsigned long long invalid() { return type(-1); }
static unsigned long long undefined() { return type(-1); }
bool operator<(const transaction_id& other) const
{
return (id_ < other.id_);