mariadb/mysql-test/suite/tokudb.bugs/t/checkpoint_lock.test
Rich Prohaska 542ddfb0f9 #3911 merge the checkpoint lock tests from 5.0.5 to main refs[t:3911]
git-svn-id: file:///svn/mysql/tests/mysql-test@34244 c7de825b-a66e-492c-adef-691d508d4ae1
2011-08-30 19:17:16 +00:00

30 lines
679 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;
--sleep 2
select DB, command, state, info from information_schema.processlist;
flush logs;
select DB, command, 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, state, info from information_schema.processlist;
set tokudb_checkpoint_lock=0;
connection default;
--reap
disconnect conn1;
# Final cleanup.