mariadb/mysql-test/suite/tokudb.bugs/t/checkpoint_lock.test

31 lines
679 B
Text
Raw Normal View History

# 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.