SET DEFAULT_STORAGE_ENGINE = 'tokudb';
# Establish connection conn1 (user = root)
select DB, command, state, info from information_schema.processlist order by info;
DB	command	state	info
test	Sleep		NULL
test	Query	executing	select DB, command, state, info from information_schema.processlist order by info
flush logs;
select DB, command, state, info from information_schema.processlist order by info;
DB	command	state	info
test	Sleep		NULL
test	Query	executing	select DB, command, state, info from information_schema.processlist order by info
set tokudb_checkpoint_lock=1;
flush logs;;
select DB, command, state, info from information_schema.processlist order by info;
DB	command	state	info
test	Sleep		NULL
test	Query	executing	select DB, command, state, info from information_schema.processlist order by info
set tokudb_checkpoint_lock=0;
