diff options
author | Monty <monty@mariadb.org> | 2016-10-02 16:39:40 +0300 |
---|---|---|
committer | Monty <monty@mariadb.org> | 2016-10-05 01:11:08 +0300 |
commit | 7b96416f3c43f02240864f378513330b85f49521 (patch) | |
tree | e4fa5f570965d5cc36e983275e08f36431a4a654 /sql/log_event.h | |
parent | 8be53a389c8eebed337057fa366b7c4506ba16b1 (diff) | |
download | mariadb-git-7b96416f3c43f02240864f378513330b85f49521.tar.gz |
Use sql_mode_t for sql_mode.
This fixed several cases where we where using just ulong for sql_mode
Diffstat (limited to 'sql/log_event.h')
-rw-r--r-- | sql/log_event.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sql/log_event.h b/sql/log_event.h index 0ce0e563796..306f78ca4c9 100644 --- a/sql/log_event.h +++ b/sql/log_event.h @@ -754,7 +754,7 @@ typedef struct st_print_event_info bool flags2_inited; uint32 flags2; bool sql_mode_inited; - ulonglong sql_mode; /* must be same as THD.variables.sql_mode */ + sql_mode_t sql_mode; /* must be same as THD.variables.sql_mode */ ulong auto_increment_increment, auto_increment_offset; bool charset_inited; char charset[6]; // 3 variables, each of them storable in 2 bytes @@ -1951,8 +1951,7 @@ public: bool charset_inited; uint32 flags2; - /* In connections sql_mode is 32 bits now but will be 64 bits soon */ - ulonglong sql_mode; + sql_mode_t sql_mode; ulong auto_increment_increment, auto_increment_offset; char charset[6]; uint time_zone_len; /* 0 means uninited */ |