1
0
mirror of https://github.com/codership/wsrep-lib.git synced 2025-07-31 18:24:25 +03:00

Unit tests for identifier class.

This commit is contained in:
Teemu Ollakka
2018-06-12 11:22:02 +03:00
parent 65b4ce9123
commit 3456a8b953
9 changed files with 62 additions and 35 deletions

View File

@ -5,8 +5,7 @@
#ifndef WSREP_PROVIDER_HPP
#define WSREP_PROVIDER_HPP
#include "id.hpp"
#include "seqno.hpp"
#include "gtid.hpp"
#include "key.hpp"
#include "data.hpp"
#include "client_id.hpp"
@ -24,25 +23,6 @@ namespace wsrep
{
class server_context;
class gtid
{
public:
gtid()
: id_()
, seqno_()
{ }
gtid(const wsrep::id& id, wsrep::seqno seqno)
: id_(id)
, seqno_(seqno)
{ }
const wsrep::id& id() const { return id_; }
wsrep::seqno seqno() const { return seqno_ ; }
private:
wsrep::id id_;
wsrep::seqno seqno_;
};
class stid
{
public: