mirror of
https://github.com/MariaDB/server.git
synced 2025-03-24 16:08:42 +01:00
18 lines
356 B
C
18 lines
356 B
C
![]() |
#ifndef STORAGE_PERFSCHEMA_RPL_GTID_INCLUDED
|
||
|
#define STORAGE_PERFSCHEMA_RPL_GTID_INCLUDED
|
||
|
|
||
|
struct TABLE;
|
||
|
|
||
|
#include "../../sql/rpl_gtid.h"
|
||
|
|
||
|
class Gtid_specification: public rpl_gtid
|
||
|
{
|
||
|
public:
|
||
|
size_t to_string(char *buf)
|
||
|
{
|
||
|
return my_snprintf(buf, GTID_MAX_STR_LENGTH, "%u-%u-%llu",
|
||
|
domain_id, server_id, seq_no);
|
||
|
}
|
||
|
};
|
||
|
#endif
|