summaryrefslogtreecommitdiff
path: root/sql/set_var.h
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/set_var.h
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/set_var.h')
-rw-r--r--sql/set_var.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/set_var.h b/sql/set_var.h
index ee62f6db7ec..97dc3b5ba51 100644
--- a/sql/set_var.h
+++ b/sql/set_var.h
@@ -410,7 +410,7 @@ inline bool IS_SYSVAR_AUTOSIZE(void *ptr)
bool fix_delay_key_write(sys_var *self, THD *thd, enum_var_type type);
-ulonglong expand_sql_mode(ulonglong sql_mode);
+sql_mode_t expand_sql_mode(sql_mode_t sql_mode);
bool sql_mode_string_representation(THD *thd, sql_mode_t sql_mode, LEX_STRING *ls);
int default_regex_flags_pcre(const THD *thd);