summaryrefslogtreecommitdiff
path: root/sql/log_event.h
diff options
context:
space:
mode:
authorunknown <serg@serg.mylan>2005-08-06 12:48:41 +0200
committerunknown <serg@serg.mylan>2005-08-06 12:48:41 +0200
commitc2108b08c4a70a73b61bab84b25628ae6c3ec531 (patch)
tree8e63e34ef6a871934b2406d5bbac00b6dfeb1524 /sql/log_event.h
parent4f1d0382996c28c5872280e8ab787adc4ac1d34d (diff)
downloadmariadb-git-c2108b08c4a70a73b61bab84b25628ae6c3ec531.tar.gz
log_event.h:
extra safety for OPTIONS_WRITTEN_TO_BIN_LOG sql/log_event.h: extra safety for OPTIONS_WRITTEN_TO_BIN_LOG
Diffstat (limited to 'sql/log_event.h')
-rw-r--r--sql/log_event.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/log_event.h b/sql/log_event.h
index 9f4681ae2c5..3ac1cfaf4bc 100644
--- a/sql/log_event.h
+++ b/sql/log_event.h
@@ -393,6 +393,10 @@ struct sql_ex_info
#define OPTIONS_WRITTEN_TO_BIN_LOG (OPTION_AUTO_IS_NULL | \
OPTION_NO_FOREIGN_KEY_CHECKS | OPTION_RELAXED_UNIQUE_CHECKS)
+#if OPTIONS_WRITTEN_TO_BIN_LOG != ((1L << 14) | (1L << 26) | (1L << 27))
+#error OPTIONS_WRITTEN_TO_BIN_LOG must NOT change their values!
+#endif
+
enum Log_event_type
{
/*