mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +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:
@@ -896,11 +896,14 @@ select distinct t1.id, tt.id, tt.data
|
||||
(select t1.id, 'yes' as data from t1) as tt
|
||||
on t1.id = tt.id;
|
||||
|
||||
#Check after fix MDEV-31277
|
||||
--disable_ps2_protocol
|
||||
select distinct t1.id, tt.id, tt.data
|
||||
from t1
|
||||
left join
|
||||
(select t1.id, 'yes' as data from t1 where id > 1) as tt
|
||||
on t1.id = tt.id;
|
||||
--enable_ps2_protocol
|
||||
|
||||
drop table t1;
|
||||
|
||||
|
Reference in New Issue
Block a user