mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-34679 ER_BAD_FIELD uses non-localizable substrings
This commit is contained in:
@ -993,19 +993,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;
|
||||
@ -1024,9 +1024,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;
|
||||
|
Reference in New Issue
Block a user