mirror of
https://github.com/MariaDB/server.git
synced 2025-01-23 07:14:17 +01:00
542ddfb0f9
git-svn-id: file:///svn/mysql/tests/mysql-test@34244 c7de825b-a66e-492c-adef-691d508d4ae1
30 lines
679 B
Text
Executable file
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.
|