mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +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:
@ -699,7 +699,9 @@ create or replace table t1 (
|
||||
|
||||
insert into t1 () values (),(),(),(),(),(),(),(),(),(),(),(),(),(),(),();
|
||||
|
||||
--disable_ps2_protocol
|
||||
select * into outfile 'load.data' from t1;
|
||||
--enable_ps2_protocol
|
||||
load data infile 'load.data' replace into table t1;
|
||||
--error ER_RECORD_FILE_FULL
|
||||
load data infile 'load.data' replace into table t1;
|
||||
@ -1041,7 +1043,9 @@ partition by system_time limit 100 (
|
||||
partition pn current);
|
||||
|
||||
insert into t1 select seq from seq_0_to_49;
|
||||
--disable_ps2_protocol
|
||||
select x into outfile 'MDEV-20077.data' from t1;
|
||||
--enable_ps2_protocol
|
||||
|
||||
load data infile 'MDEV-20077.data' replace into table t1 (x);
|
||||
load data infile 'MDEV-20077.data' replace into table t1 (x);
|
||||
|
Reference in New Issue
Block a user