1
0
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:
Lena Startseva
2023-05-31 11:57:45 +07:00
parent 23dae6173c
commit 9854fb6fa7
400 changed files with 1339 additions and 42 deletions

View File

@ -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;