mariadb/mysql-test/suite/tokudb.bugs/t/checkpoint_lock.test
Zardosht Kasheff 4aa09193ea [t:3006], fix tests to make them deterministic
git-svn-id: file:///svn/mysql/tests/mysql-test@25143 c7de825b-a66e-492c-adef-691d508d4ae1
2010-11-03 15:04:50 +00:00

29 lines
687 B
Text
Executable file

# ticket 895 is a query optimization problem with the primary key
#--source include/have_tokudb.inc
SET STORAGE_ENGINE = 'tokudb';
--echo # Establish connection conn1 (user = root)
connect (conn1,localhost,root,,);
connection default;
select DB, command, time, state, info from information_schema.processlist;
flush logs;
select DB, command, time, state, info from information_schema.processlist;
connection conn1;
set tokudb_checkpoint_lock=1;
connection default;
--send flush logs;
connection conn1;
--sleep 2
select DB, command, time, state, info from information_schema.processlist;
set tokudb_checkpoint_lock=0;
connection default;
--reap
disconnect conn1;
# Final cleanup.