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:
@ -25,7 +25,9 @@ connect (con1,localhost,root,,);
|
||||
connection con1;
|
||||
set @g1 = ST_GeomFromText('Polygon((0 0,0 100,100 100,100 0,0 0))');
|
||||
set transaction isolation level read uncommitted;
|
||||
--disable_ps2_protocol
|
||||
select count(*) from t1 where ST_Within(t1.c2, @g1);
|
||||
--enable_ps2_protocol
|
||||
disconnect con1;
|
||||
|
||||
--source include/wait_until_disconnected.inc
|
||||
|
Reference in New Issue
Block a user