summaryrefslogtreecommitdiff
path: root/mysql-test/r/key_cache.result
diff options
context:
space:
mode:
authorunknown <ingo@mysql.com>2005-08-07 20:39:17 +0200
committerunknown <ingo@mysql.com>2005-08-07 20:39:17 +0200
commit9e5c20f31faa1488a0beb1c3f3ad509227d0dcf1 (patch)
tree4ef9625701d08f60d64213e805dad252b10b53ee /mysql-test/r/key_cache.result
parent9cd28273aa1d65090fda2702d28a2300d62e653d (diff)
downloadmariadb-git-9e5c20f31faa1488a0beb1c3f3ad509227d0dcf1.tar.gz
Bug#10473 - Can't set 'key_buffer_size' system variable to ZERO
Give the user a warning if he tries to destroy the default key cache. mysql-test/r/key_cache.result: Bug#10473 - Can't set 'key_buffer_size' system variable to ZERO The test result. mysql-test/t/key_cache.test: Bug#10473 - Can't set 'key_buffer_size' system variable to ZERO The test case. sql/share/errmsg.txt: Bug#10473 - Can't set 'key_buffer_size' system variable to ZERO The new message string.
Diffstat (limited to 'mysql-test/r/key_cache.result')
-rw-r--r--mysql-test/r/key_cache.result6
1 files changed, 6 insertions, 0 deletions
diff --git a/mysql-test/r/key_cache.result b/mysql-test/r/key_cache.result
index b3aa4c5061c..de9a2b2c003 100644
--- a/mysql-test/r/key_cache.result
+++ b/mysql-test/r/key_cache.result
@@ -289,3 +289,9 @@ check table t1;
Table Op Msg_type Msg_text
test.t1 check status OK
drop table t1;
+set @@global.key_buffer_size=0;
+Warnings:
+Warning 1438 Cannot drop default keycache
+select @@global.key_buffer_size;
+@@global.key_buffer_size
+2097152