summaryrefslogtreecommitdiff
path: root/libmysqld
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 /libmysqld
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 'libmysqld')
-rw-r--r--libmysqld/emb_qcache.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/libmysqld/emb_qcache.cc b/libmysqld/emb_qcache.cc
index a1a66421db8..429b16b2dee 100644
--- a/libmysqld/emb_qcache.cc
+++ b/libmysqld/emb_qcache.cc
@@ -18,6 +18,7 @@
#ifdef HAVE_QUERY_CACHE
#include <mysql.h>
+#include "sql_basic_types.h"
#include "emb_qcache.h"
#include "embedded_priv.h"
#include "sql_class.h" // THD