summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristofer Pettersson <kristofer.pettersson@sun.com>2009-10-29 17:18:09 +0100
committerKristofer Pettersson <kristofer.pettersson@sun.com>2009-10-29 17:18:09 +0100
commit487bfd56d4386fe9abbd4beb80d759b0c5c95909 (patch)
tree557077717fdc77d58e34d25b64577d44040e9870
parentddcdacb297ffd42f38743321f7861451e77ce142 (diff)
downloadmariadb-git-487bfd56d4386fe9abbd4beb80d759b0c5c95909.tar.gz
post commit fix: missing result file.
-rw-r--r--mysql-test/r/query_cache_disabled.result14
1 files changed, 14 insertions, 0 deletions
diff --git a/mysql-test/r/query_cache_disabled.result b/mysql-test/r/query_cache_disabled.result
new file mode 100644
index 00000000000..f2f58580ca2
--- /dev/null
+++ b/mysql-test/r/query_cache_disabled.result
@@ -0,0 +1,14 @@
+SHOW GLOBAL VARIABLES LIKE 'query_cache_type';
+Variable_name Value
+query_cache_type OFF
+SET GLOBAL query_cache_type=ON;
+ERROR HY000: Query cache is disabled; restart the server with query_cache_type=1 to enable it
+SET GLOBAL query_cache_type=DEMAND;
+ERROR HY000: Query cache is disabled; restart the server with query_cache_type=1 to enable it
+SET GLOBAL query_cache_type=OFF;
+ERROR HY000: Query cache is disabled; restart the server with query_cache_type=1 to enable it
+SET GLOBAL query_cache_size=1024*1024;
+SHOW GLOBAL VARIABLES LIKE 'query_cache_size';
+Variable_name Value
+query_cache_size 1048576
+SET GLOBAL query_cache_size=0;