summaryrefslogtreecommitdiff
path: root/sql/sql_table.cc
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2016-10-02 16:39:40 +0300
committerMonty <monty@mariadb.org>2016-10-05 01:11:08 +0300
commit7b96416f3c43f02240864f378513330b85f49521 (patch)
treee4fa5f570965d5cc36e983275e08f36431a4a654 /sql/sql_table.cc
parent8be53a389c8eebed337057fa366b7c4506ba16b1 (diff)
downloadmariadb-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/sql_table.cc')
-rw-r--r--sql/sql_table.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_table.cc b/sql/sql_table.cc
index 0cee0dc6ad2..38b45a7a2c9 100644
--- a/sql/sql_table.cc
+++ b/sql/sql_table.cc
@@ -9669,7 +9669,7 @@ copy_data_between_tables(THD *thd, TABLE *from, TABLE *to,
List<Item> all_fields;
bool auto_increment_field_copied= 0;
bool init_read_record_done= 0;
- ulonglong save_sql_mode= thd->variables.sql_mode;
+ sql_mode_t save_sql_mode= thd->variables.sql_mode;
ulonglong prev_insert_id, time_to_report_progress;
Field **dfield_ptr= to->default_field;
DBUG_ENTER("copy_data_between_tables");