mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +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:
@ -11,7 +11,9 @@ explain partitions select c1,c3 from t1 order by c2;
|
||||
set max_length_for_sort_data = 4;
|
||||
explain partitions select c1,c3 from t1 order by c2;
|
||||
flush status;
|
||||
--disable_ps2_protocol
|
||||
select c1,c3 from t1 order by c2;
|
||||
--enable_ps2_protocol
|
||||
set max_length_for_sort_data = default;
|
||||
--disable_ps_protocol
|
||||
show status where variable_name like '%tmp%' and value != 0;
|
||||
@ -22,7 +24,9 @@ explain partitions select c1,c3 from t1 order by c2;
|
||||
set max_length_for_sort_data = 4;
|
||||
explain partitions select c1,c3 from t1 order by c2;
|
||||
flush status;
|
||||
--disable_ps2_protocol
|
||||
select c1,c3 from t1 order by c2;
|
||||
--enable_ps2_protocol
|
||||
set max_length_for_sort_data = default;
|
||||
--disable_ps_protocol
|
||||
show status where variable_name like '%tmp%' and value != 0;
|
||||
|
Reference in New Issue
Block a user