mariadb/sql/rpl_constants.h
mats@romeo.(none) 7c187c2c9b WL#3464: Add replication event to denote gap in replication
Adding an event that can be used to denote that an incident occured
on the master. The event can be used to denote a gap in the replication
stream, but can also be used to denote other incidents.

In addition, the injector interface is extended with functions to
generate an incident event. The function will also rotate the binary
log after generating an incident event to get a fresh binary log.
2007-03-29 20:31:09 +02:00

18 lines
364 B
C

#ifndef RPL_CONSTANTS_H
#define RPL_CONSTANTS_H
/**
Enumeration of the incidents that can occur for the server.
*/
enum Incident {
/** No incident */
INCIDENT_NONE,
/** There are possibly lost events in the replication stream */
INCIDENT_LOST_EVENTS,
/** Shall be last event of the enumeration */
INCIDENT_COUNT
};
#endif /* RPL_CONSTANTS_H */