mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-07-28 20:02:00 +03:00
Renamed invalid to undefined. More utility functions.
This commit is contained in:
@ -29,6 +29,12 @@ namespace wsrep
|
||||
{
|
||||
return (seqno_.is_undefined() && id_.is_undefined());
|
||||
}
|
||||
static wsrep::gtid undefined()
|
||||
{
|
||||
static const wsrep::gtid ret(wsrep::id::undefined(),
|
||||
wsrep::seqno::undefined());
|
||||
return ret;
|
||||
}
|
||||
private:
|
||||
wsrep::id id_;
|
||||
wsrep::seqno seqno_;
|
||||
|
Reference in New Issue
Block a user