summaryrefslogtreecommitdiff
path: root/sql/sql_cache.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_cache.cc')
-rw-r--r--sql/sql_cache.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/sql_cache.cc b/sql/sql_cache.cc
index c610128bb88..588d60462b0 100644
--- a/sql/sql_cache.cc
+++ b/sql/sql_cache.cc
@@ -281,6 +281,7 @@ TODO list:
*/
#include "mysql_priv.h"
+#ifdef HAVE_QUERY_CACHE
#include <m_ctype.h>
#include <my_dir.h>
#include <hash.h>
@@ -3460,3 +3461,5 @@ err2:
}
#endif /* DBUG_OFF */
+
+#endif /*HAVE_QUERY_CACHE*/