diff options
Diffstat (limited to 'sql/sql_trigger.cc')
-rw-r--r-- | sql/sql_trigger.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_trigger.cc b/sql/sql_trigger.cc index d3954d0ee73..7dbc8513418 100644 --- a/sql/sql_trigger.cc +++ b/sql/sql_trigger.cc @@ -1388,7 +1388,7 @@ bool Table_triggers_list::check_n_load(THD *thd, const char *db, information about mode in old format. */ sql_mode= ((trg_sql_mode= itm++) ? *trg_sql_mode : - global_system_variables.sql_mode); + (ulonglong) global_system_variables.sql_mode); trg_create_time= it_create_times++; // May be NULL if old file trg_definer= it_definer++; // May be NULL if old file @@ -1871,7 +1871,7 @@ Table_triggers_list::change_table_name_in_triggers(THD *thd, LEX_STRING *new_table_name) { struct change_table_name_param param; - ulonglong save_sql_mode= thd->variables.sql_mode; + sql_mode_t save_sql_mode= thd->variables.sql_mode; char path_buff[FN_REFLEN]; param.thd= thd; |