summaryrefslogtreecommitdiff
path: root/sql/sql_cache.cc
diff options
context:
space:
mode:
authorunknown <bell@sanja.is.com.ua>2002-03-22 22:55:08 +0200
committerunknown <bell@sanja.is.com.ua>2002-03-22 22:55:08 +0200
commit3d2ac023a0356f72c64487715364232a3bd11abd (patch)
treea691fc4031ec0bdda379decf4651d4789739c5e8 /sql/sql_cache.cc
parent58e0b04efc2655cafd2ba46b75c6f59e99aa5459 (diff)
downloadmariadb-git-3d2ac023a0356f72c64487715364232a3bd11abd.tar.gz
added building without query cache
configure.in: new configure parameter (now only for embeded server) include/my_global.h: now query cache always included in server, because of problrms with test suit mysql-test/r/flush.result: removed double testing mysql-test/t/flush.test: removed double testing mysql-test/t/grant_cache.test: now it is only memo about query cache mysql-test/t/query_cache.test: now it is only memo about query cache
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*/