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:
@@ -223,12 +223,15 @@ drop table t1;
|
||||
#
|
||||
# Item_func_like::fix_fields, ESCAPE, const_item()
|
||||
#
|
||||
#Enable after fix MDEV-31282
|
||||
--disable_ps2_protocol
|
||||
create table t1(f1 int);
|
||||
insert into t1 values(1);
|
||||
--error ER_WRONG_ARGUMENTS
|
||||
update (select 1 like 2 escape (1 in (select 1 from t1))) x, t1 as d set d.f1 = 1;
|
||||
select * from (select 1 like 2 escape (1 in (select 1 from t1))) x;
|
||||
drop table t1;
|
||||
--enable_ps2_protocol
|
||||
|
||||
#
|
||||
# Item_func_like::walk
|
||||
|
Reference in New Issue
Block a user