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:
@ -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:
|
||||
|
Reference in New Issue
Block a user