MySQL 9.1.0
Source Code Documentation
event_reader.h File Reference

Contains the class responsible for deserializing fields of an event previously stored in a buffer. More...

#include <list>
#include <map>
#include <string>
#include <vector>
#include "mysql/binlog/event/byteorder.h"
#include "mysql/binlog/event/wrapper_functions.h"

Go to the source code of this file.

Classes

class  mysql::binlog::event::Event_reader
 Event_reader class purpose is to avoid out-of-buffer reads when deserializing binary log events and increase robustness when dealing with corrupted event buffers. More...
 

Namespaces

namespace  mysql
 
namespace  mysql::binlog
 
namespace  mysql::binlog::event
 The namespace contains classes representing events that can occur in a replication stream.
 
namespace  binary_log
 

Macros

#define PRINT_READER_STATUS(message)
 

Detailed Description

Contains the class responsible for deserializing fields of an event previously stored in a buffer.

Macro Definition Documentation

◆ PRINT_READER_STATUS

#define PRINT_READER_STATUS (   message)
Value:
BAPI_PRINT("debug", (message ": m_buffer= %p, " \
"m_limit= %llu, " \
"m_length= %llu, " \
"position()= %llu", \
m_buffer, m_limit, m_length, Event_reader::position()))
#define BAPI_PRINT(name, params)
Definition: wrapper_functions.h:62