mirror of
https://github.com/MariaDB/server.git
synced 2025-02-01 11:31:51 +01:00
#153 change checkpoint lock tests to work with --ps-protocol
This commit is contained in:
parent
c74cb7ee21
commit
b6a43ff0e3
4 changed files with 12 additions and 18 deletions
|
@ -1,20 +1,17 @@
|
|||
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
|
||||
set global tokudb_checkpoint_on_flush_logs=ON;
|
||||
# Establish connection conn1 (user = root)
|
||||
select DB, command, state, info from information_schema.processlist;
|
||||
select DB, command, state, info from information_schema.processlist where id != connection_id();
|
||||
DB command state info
|
||||
test Sleep NULL
|
||||
test Query executing select DB, command, state, info from information_schema.processlist
|
||||
flush logs;
|
||||
select DB, command, state, info from information_schema.processlist;
|
||||
select DB, command, state, info from information_schema.processlist where id != connection_id();
|
||||
DB command state info
|
||||
test Sleep NULL
|
||||
test Query executing select DB, command, state, info from information_schema.processlist
|
||||
set tokudb_checkpoint_lock=1;
|
||||
flush logs;;
|
||||
select DB, command, state, info from information_schema.processlist;
|
||||
select DB, command, state, info from information_schema.processlist where id != connection_id();
|
||||
DB command state info
|
||||
test Query executing select DB, command, state, info from information_schema.processlist
|
||||
test Query NULL flush logs
|
||||
set tokudb_checkpoint_lock=0;
|
||||
set global tokudb_checkpoint_on_flush_logs=OFF;
|
||||
|
|
|
@ -1,18 +1,15 @@
|
|||
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
|
||||
# Establish connection conn1 (user = root)
|
||||
select DB, command, state, info from information_schema.processlist;
|
||||
select DB, command, state, info from information_schema.processlist where id != connection_id();
|
||||
DB command state info
|
||||
test Sleep NULL
|
||||
test Query executing select DB, command, state, info from information_schema.processlist
|
||||
flush logs;
|
||||
select DB, command, state, info from information_schema.processlist;
|
||||
select DB, command, state, info from information_schema.processlist where id != connection_id();
|
||||
DB command state info
|
||||
test Sleep NULL
|
||||
test Query executing select DB, command, state, info from information_schema.processlist
|
||||
set tokudb_checkpoint_lock=1;
|
||||
flush logs;;
|
||||
select DB, command, state, info from information_schema.processlist;
|
||||
select DB, command, state, info from information_schema.processlist where id != connection_id();
|
||||
DB command state info
|
||||
test Query executing select DB, command, state, info from information_schema.processlist
|
||||
test Sleep NULL
|
||||
set tokudb_checkpoint_lock=0;
|
||||
|
|
|
@ -8,9 +8,9 @@ connect (conn1,localhost,root,,);
|
|||
|
||||
connection default;
|
||||
--sleep 2
|
||||
select DB, command, state, info from information_schema.processlist;
|
||||
select DB, command, state, info from information_schema.processlist where id != connection_id();
|
||||
flush logs;
|
||||
select DB, command, state, info from information_schema.processlist;
|
||||
select DB, command, state, info from information_schema.processlist where id != connection_id();
|
||||
|
||||
connection conn1;
|
||||
set tokudb_checkpoint_lock=1;
|
||||
|
@ -20,7 +20,7 @@ connection default;
|
|||
|
||||
connection conn1;
|
||||
--sleep 2
|
||||
select DB, command, state, info from information_schema.processlist;
|
||||
select DB, command, state, info from information_schema.processlist where id != connection_id();
|
||||
set tokudb_checkpoint_lock=0;
|
||||
|
||||
connection default;
|
||||
|
|
|
@ -7,9 +7,9 @@ connect (conn1,localhost,root,,);
|
|||
|
||||
connection default;
|
||||
--sleep 2
|
||||
select DB, command, state, info from information_schema.processlist;
|
||||
select DB, command, state, info from information_schema.processlist where id != connection_id();
|
||||
flush logs;
|
||||
select DB, command, state, info from information_schema.processlist;
|
||||
select DB, command, state, info from information_schema.processlist where id != connection_id();
|
||||
|
||||
connection conn1;
|
||||
set tokudb_checkpoint_lock=1;
|
||||
|
@ -19,7 +19,7 @@ connection default;
|
|||
|
||||
connection conn1;
|
||||
--sleep 2
|
||||
select DB, command, state, info from information_schema.processlist;
|
||||
select DB, command, state, info from information_schema.processlist where id != connection_id();
|
||||
set tokudb_checkpoint_lock=0;
|
||||
|
||||
connection default;
|
||||
|
|
Loading…
Add table
Reference in a new issue