diff options
author | monty@mashka.mysql.fi <> | 2003-11-18 13:47:27 +0200 |
---|---|---|
committer | monty@mashka.mysql.fi <> | 2003-11-18 13:47:27 +0200 |
commit | cab1dc628c116f042a3fd8dbc505f7ca2df599a3 (patch) | |
tree | 0a23d90c946c5f05a8c160fc7c6ef3f05505fc79 /mysql-test/t/preload.test | |
parent | f277c9f88a4a2e392e44cfdb6b3f4785b6c730d0 (diff) | |
download | mariadb-git-cab1dc628c116f042a3fd8dbc505f7ca2df599a3.tar.gz |
CLIENT_MULTI_QUERIES -> CLIENT_MULTI_STATEMENTS
New multi-key-cache handling. This was needed becasue the old one didn't work reliable with MERGE tables.
ALTER TABLE table_name ... CHARACTER SET ... now changes all char/varchar/text columns to the given character set
(One must use ALTER TABLE ... DEFAULT CHARACTER SET ... to change the default character set)
Fixed that have_compress is detected properly (fixes problems with func_compress.test on platforms without zlib)
New syntax for CACHE INDEX ('keys' is optional if no index name is given and one mentions the key cache name only ones)
Removed compiler warnings
Added mysql_set_server_option() to allow clients like PHP to easaily set/reset the multi-statement flag.
Diffstat (limited to 'mysql-test/t/preload.test')
-rw-r--r-- | mysql-test/t/preload.test | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mysql-test/t/preload.test b/mysql-test/t/preload.test index 7357b42c599..7eff5cee08f 100644 --- a/mysql-test/t/preload.test +++ b/mysql-test/t/preload.test @@ -63,7 +63,7 @@ show status like "key_read%"; flush tables; flush status; select @@preload_buffer_size; -load index into cache t1 keys; +load index into cache t1; show status like "key_read%"; select count(*) from t1 where b = 'test1'; show status like "key_read%"; @@ -72,7 +72,7 @@ flush tables; flush status; show status like "key_read%"; set session preload_buffer_size=256*1024; select @@preload_buffer_size; -load index into cache t1 keys ignore leaves; +load index into cache t1 ignore leaves; show status like "key_read%"; select count(*) from t1 where b = 'test1'; show status like "key_read%"; @@ -81,7 +81,7 @@ flush tables; flush status; show status like "key_read%"; set session preload_buffer_size=1*1024; select @@preload_buffer_size; -load index into cache t1 keys, t2 keys (primary,b) ignore leaves; +load index into cache t1, t2 keys (primary,b) ignore leaves; show status like "key_read%"; select count(*) from t1 where b = 'test1'; select count(*) from t2 where b = 'test1'; @@ -89,7 +89,7 @@ show status like "key_read%"; flush tables; flush status; show status like "key_read%"; -load index into cache t3 keys, t2 keys (primary,b) ; +load index into cache t3, t2 keys (primary,b) ; show status like "key_read%"; flush tables; flush status; |