diff options
author | unknown <serg@serg.mylan> | 2005-08-06 12:48:41 +0200 |
---|---|---|
committer | unknown <serg@serg.mylan> | 2005-08-06 12:48:41 +0200 |
commit | c2108b08c4a70a73b61bab84b25628ae6c3ec531 (patch) | |
tree | 8e63e34ef6a871934b2406d5bbac00b6dfeb1524 /sql/log_event.h | |
parent | 4f1d0382996c28c5872280e8ab787adc4ac1d34d (diff) | |
download | mariadb-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.h | 4 |
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 { /* |