%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/rs/mysql/4.0/mysql-test/t/
Upload File :
Create Path :
Current File : /home/rs/mysql/4.0/mysql-test/t/query_cache_notembedded.test

-- source include/have_query_cache.inc
-- source include/not_embedded.inc

#
# Tests with query cache
#
set GLOBAL query_cache_size=1355776;

# Reset query cache variables.

reset query cache;
flush status;

#
# do not use QC if tables locked (BUG#12385)
#
connect (root,localhost,root,,test,$MASTER_MYPORT,master.sock);
connection root;
CREATE TABLE t1 ( a INT NOT NULL PRIMARY KEY AUTO_INCREMENT ) ENGINE =
MyISAM;
LOCK TABLE t1 READ LOCAL;
connect (root2,localhost,root,,test,$MASTER_MYPORT,master.sock);
connection root2;
INSERT INTO t1 VALUES (), (), ();
connection root;
SELECT * FROM t1;
connection root2;
SELECT * FROM t1;
connection root;
SELECT * FROM t1;
drop table t1;

set GLOBAL query_cache_size=default;

Zerion Mini Shell 1.0