mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +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:
@ -7,6 +7,7 @@
|
||||
-- source include/have_log_bin.inc
|
||||
-- source include/have_perfschema.inc
|
||||
|
||||
--disable_ps2_protocol
|
||||
select variable_value from information_schema.global_status where variable_name="handler_read_key" into @global_read_key;
|
||||
show columns from information_schema.client_statistics;
|
||||
show columns from information_schema.user_statistics;
|
||||
@ -125,6 +126,7 @@ select f() from information_schema.table_statistics;
|
||||
select f() from information_schema.index_statistics;
|
||||
set global userstat= 0;
|
||||
drop function f;
|
||||
--enable_ps2_protocol
|
||||
|
||||
--echo #
|
||||
--echo # End of 10.2 tests
|
||||
|
Reference in New Issue
Block a user