mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
MDEV-31003: Second execution for ps-protocol
This patch adds for "--ps-protocol" second execution of queries "SELECT". Also in this patch it is added ability to disable/enable (--disable_ps2_protocol/--enable_ps2_protocol) second execution for "--ps-prototocol" in testcases.
This commit is contained in:
@ -22,6 +22,7 @@ flush query cache;
|
||||
reset query cache;
|
||||
flush status;
|
||||
|
||||
--disable_ps2_protocol
|
||||
select * from t1;
|
||||
|
||||
show status like "Qcache_queries_in_cache";
|
||||
@ -47,6 +48,7 @@ select spins from performance_schema.events_waits_current order by event_name li
|
||||
|
||||
--replace_result CYCLE {CYCLE_OR_NANOSECOND} NANOSECOND {CYCLE_OR_NANOSECOND}
|
||||
select * from performance_schema.setup_timers where name='wait';
|
||||
--enable_ps2_protocol
|
||||
|
||||
show status like "Qcache_queries_in_cache";
|
||||
show status like "Qcache_inserts";
|
||||
|
Reference in New Issue
Block a user