summaryrefslogtreecommitdiff
path: root/sql/item_create.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/item_create.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/item_create.cc')
-rw-r--r--sql/item_create.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_create.cc b/sql/item_create.cc
index 82f6bbd3173..7f0d4144177 100644
--- a/sql/item_create.cc
+++ b/sql/item_create.cc
@@ -6279,7 +6279,7 @@ Item *create_temporal_literal(THD *thd,
MYSQL_TIME_STATUS status;
MYSQL_TIME ltime;
Item *item= NULL;
- ulonglong flags= sql_mode_for_dates(thd);
+ sql_mode_t flags= sql_mode_for_dates(thd);
switch(type)
{