1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Merge branch '10.11' into 11.2

This commit is contained in:
Oleksandr Byelkin
2024-10-29 16:39:47 +01:00
660 changed files with 8148 additions and 3604 deletions

View File

@ -991,19 +991,19 @@ create view v2 as select * from t2;
create view v3 as select * from t2 where c0 < 3;
create procedure sp0() update t1, v2 set v2.pk = 1 where v2.c0 = t1.c1;
call sp0();
ERROR 42S22: Unknown column 't1.c1' in 'where clause'
ERROR 42S22: Unknown column 't1.c1' in 'WHERE'
call sp0();
ERROR 42S22: Unknown column 't1.c1' in 'where clause'
ERROR 42S22: Unknown column 't1.c1' in 'WHERE'
create procedure sp1() update (t1 join v2 on v2.c0 = t1.c1) set v2.pk = 1;
call sp1();
ERROR 42S22: Unknown column 't1.c1' in 'on clause'
ERROR 42S22: Unknown column 't1.c1' in 'ON'
call sp1();
ERROR 42S22: Unknown column 't1.c1' in 'on clause'
ERROR 42S22: Unknown column 't1.c1' in 'ON'
create procedure sp2() update (t1 join v3 on v3.c0 = t1.c1) set v3.pk = 1;
call sp2();
ERROR 42S22: Unknown column 't1.c1' in 'on clause'
ERROR 42S22: Unknown column 't1.c1' in 'ON'
call sp2();
ERROR 42S22: Unknown column 't1.c1' in 'on clause'
ERROR 42S22: Unknown column 't1.c1' in 'ON'
create procedure sp3()
update (t1 join v2 on v2.c0 = t1.id) set v2.c0 = v2.c0+1;
select * from t2;
@ -1022,9 +1022,9 @@ pk c0
2 3
create procedure sp4() delete t1 from t1 join v2 on v2.c0 = t1.c1;
call sp4();
ERROR 42S22: Unknown column 't1.c1' in 'on clause'
ERROR 42S22: Unknown column 't1.c1' in 'ON'
call sp4();
ERROR 42S22: Unknown column 't1.c1' in 'on clause'
ERROR 42S22: Unknown column 't1.c1' in 'ON'
drop procedure sp0;
drop procedure sp1;
drop procedure sp2;