24#ifndef PLUGIN_PFS_TABLE_BINLOG_STORAGE_ITERATOR_TESTS_H_
25#define PLUGIN_PFS_TABLE_BINLOG_STORAGE_ITERATOR_TESTS_H_
35const std::string
TABLE_NAME{
"binlog_storage_iterator_entries"};
#define BINLOG_VERSION
binlog_version 3 is MySQL 4.x; 4 is MySQL 5.0.0.
Definition: binlog_event.h:98
#define MYSQL_SERVER_VERSION
Definition: mysql_version.h:12
void close_table(PSI_table_handle *h)
Definition: pfs.cc:294
int rnd_next(PSI_table_handle *h)
Definition: pfs.cc:327
static const uint32_t MAX_STORAGE_NAME_SIZE
Definition: pfs.h:37
PSI_table_handle * open_table(PSI_pos **pos)
Definition: pfs.cc:266
bool register_pfs_tables()
Definition: pfs.cc:220
bool unregister_pfs_tables()
Definition: pfs.cc:233
int rnd_init(PSI_table_handle *h, bool scan)
Definition: pfs.cc:430
void init_share(PFS_engine_table_share_proxy *share)
Definition: pfs.cc:481
const std::string TABLE_NAME
Definition: pfs.h:35
static PFS_engine_table_share_proxy share
Definition: connection_control_pfs_table.cc:73
Log_event_type
Enumeration type for the different types of log events.
Definition: binlog_event.h:278
@ UNKNOWN_EVENT
Every time you add a type, you have to.
Definition: binlog_event.h:286
const std::string & get_event_type_as_string(Log_event_type type)
Get the event type as string object.
Definition: binlog_event.cpp:82
size_t size(const char *const c)
Definition: base64.h:46
static int handle(int sql_errno, const char *sqlstate, const char *message, void *state)
Bridge function between the C++ API offered by this module and the C API of the parser service.
Definition: services.cc:64
struct PSI_table_handle PSI_table_handle
This is an opaque structure to denote table handle in plugin/component code.
Definition: pfs_plugin_table_service.h:97
struct PSI_pos PSI_pos
This is an opaque structure to denote cursor position in plugin/component code.
Definition: pfs_plugin_table_service.h:102
A share to be initialized by plugin/component code and to be provided to add_table() service method o...
Definition: pfs_plugin_table_service.h:462
void delete_buffer() const
Definition: pfs.cc:239
unsigned char * buffer
Definition: pfs.h:70
uint64_t buffer_size
Definition: pfs.h:72
uint64_t buffer_capacity
Definition: pfs.h:71
my_h_binlog_storage_iterator iterator
Definition: pfs.h:69
unsigned long long s_current_row_pos
Definition: pfs.h:73
bool is_error
Definition: pfs.h:74
bool extend_buffer_capacity(uint64_t size=0)
Definition: pfs.cc:241
mysql::binlog::event::Format_description_event fde
Definition: pfs.h:67
struct Row row
Definition: pfs.h:66
void reset()
Definition: pfs.h:53
std::string event_name
Definition: pfs.h:45
uint64_t start_position
Definition: pfs.h:49
mysql::binlog::event::Log_event_type event_type
Definition: pfs.h:43
uint64_t end_position
Definition: pfs.h:50
uint64_t trx_seqno
Definition: pfs.h:48
std::string storage_details
Definition: pfs.h:46
std::string trx_tsid
Definition: pfs.h:47
Definition: file_storage.cc:430