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:
@ -1,6 +1,7 @@
|
||||
--source include/have_profiling.inc
|
||||
--source include/no_view_protocol.inc
|
||||
|
||||
--disable_ps2_protocol
|
||||
# Verify that the protocol isn't violated if we ask for profiling info
|
||||
# before profiling has recorded anything.
|
||||
show profiles;
|
||||
@ -257,7 +258,7 @@ drop function if exists f1;
|
||||
#--eval select 1; select 2; select 3;
|
||||
## two continuations, one starting
|
||||
#select state from information_schema.profiling where seq=1 order by query_id desc limit 3;
|
||||
|
||||
--enable_ps2_protocol
|
||||
|
||||
## last thing in the file
|
||||
set session profiling = OFF;
|
||||
|
Reference in New Issue
Block a user