summaryrefslogtreecommitdiff
path: root/mysql-test/r/key_cache.result
diff options
context:
space:
mode:
authorigor@rurik.mysql.com <>2004-11-16 13:58:49 -0800
committerigor@rurik.mysql.com <>2004-11-16 13:58:49 -0800
commit9edff6c5912c37e06b852c856b0333af8160ef16 (patch)
tree1b1563842dab4f6c63b31f6b649eb471cc9a875f /mysql-test/r/key_cache.result
parent8a2ef0a2cad2ace46ce1224c6733d36bcd5982d5 (diff)
downloadmariadb-git-9edff6c5912c37e06b852c856b0333af8160ef16.tar.gz
key_cache.result, key_cache.test:
Added a test case for bug #6447. mf_keycache.c: Fixed bug #6447. Erronious code in the key_cache_read function caused problems when reading key blocks with offset>0 into key cache. The code of key_cache_insert and key_cache_write was modified similarly.
Diffstat (limited to 'mysql-test/r/key_cache.result')
-rw-r--r--mysql-test/r/key_cache.result10
1 files changed, 10 insertions, 0 deletions
diff --git a/mysql-test/r/key_cache.result b/mysql-test/r/key_cache.result
index fe8708f882d..79b5a6e84b2 100644
--- a/mysql-test/r/key_cache.result
+++ b/mysql-test/r/key_cache.result
@@ -277,3 +277,13 @@ Key_blocks_unused KEY_BLOCKS_UNUSED
set global keycache2.key_buffer_size=0;
set global keycache3.key_buffer_size=100;
set global keycache3.key_buffer_size=0;
+create table t1 (mytext text, FULLTEXT (mytext));
+insert t1 values ('aaabbb');
+check table t1;
+Table Op Msg_type Msg_text
+test.t1 check status OK
+set GLOBAL key_cache_block_size=2048;
+check table t1;
+Table Op Msg_type Msg_text
+test.t1 check status OK
+drop table t1;