summaryrefslogtreecommitdiff
path: root/sql/rpl_constants.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/rpl_constants.h')
-rw-r--r--sql/rpl_constants.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/sql/rpl_constants.h b/sql/rpl_constants.h
new file mode 100644
index 00000000000..426e80a328d
--- /dev/null
+++ b/sql/rpl_constants.h
@@ -0,0 +1,18 @@
+#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 */