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:
@ -8,9 +8,11 @@
|
||||
create sequence s1;
|
||||
create view v1 as select * from s1;
|
||||
create view v2 as select next value for s1;
|
||||
--disable_ps2_protocol
|
||||
select * from v1;
|
||||
select * from v2;
|
||||
select * from v2;
|
||||
--enable_ps2_protocol
|
||||
--error ER_NOT_SEQUENCE
|
||||
select next value for v1;
|
||||
drop sequence s1;
|
||||
|
Reference in New Issue
Block a user