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:
@ -9,7 +9,9 @@
|
||||
--echo #
|
||||
|
||||
CREATE SEQUENCE s1 ENGINE=InnoDB;
|
||||
--disable_ps2_protocol
|
||||
SELECT NEXTVAL(s1);
|
||||
--enable_ps2_protocol
|
||||
CREATE TABLE t1 ENGINE=InnoDB SELECT LASTVAL(s1) AS a;
|
||||
INSERT INTO t1 VALUES (NEXTVAL(s1));
|
||||
INSERT INTO t1 VALUES (LASTVAL(s1));
|
||||
|
Reference in New Issue
Block a user