1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

MDEV-27691: make working view-protocol

Update tests for version 10.5
This commit is contained in:
Lena Startseva
2022-09-16 17:55:42 +07:00
parent d444536e1d
commit 2abf499c76
21 changed files with 74 additions and 5 deletions

View File

@ -28,8 +28,10 @@ insert into t234 values(2);
insert into t234 values(3);
insert into t234 values(4);
#enable after fix MDEV-29553
--disable_view_protocol
select * from t13 union select * from t234 intersect select * from t12;
--enable_view_protocol
set SQL_MODE=default;
drop table t1,t2,t3;
@ -45,6 +47,8 @@ insert into t3 values (1,1),(3,3);
set SQL_MODE=ORACLE;
#enable after fix MDEV-29553
--disable_view_protocol
select a,b from t1 union all select c,d from t2 intersect select e,f from t3 union all select 4,'4' from dual;
explain extended
select a,b from t1 union all select c,d from t2 intersect select e,f from t3 union all select 4,'4' from dual;
@ -52,6 +56,7 @@ select a,b from t1 union all select c,d from t2 intersect select e,f from t3 uni
select a,b from t1 union all select c,d from t2 intersect all select e,f from t3 union all select 4,'4' from dual;
explain extended
select a,b from t1 union all select c,d from t2 intersect all select e,f from t3 union all select 4,'4' from dual;
--enable_view_protocol
select e,f from t3 intersect select c,d from t2 union all select a,b from t1 union all select 4,'4' from dual;
explain extended