summaryrefslogtreecommitdiff
path: root/sql/sql_cache.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_cache.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_cache.cc')
-rw-r--r--sql/sql_cache.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_cache.cc b/sql/sql_cache.cc
index 8ff4684f0ff..2f4856fc4e2 100644
--- a/sql/sql_cache.cc
+++ b/sql/sql_cache.cc
@@ -330,6 +330,7 @@ TODO list:
#include <my_global.h> /* NO_EMBEDDED_ACCESS_CHECKS */
#include "sql_priv.h"
+#include "sql_basic_types.h"
#include "sql_cache.h"
#include "sql_parse.h" // check_table_access
#include "tztime.h" // struct Time_zone