1
0
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:
Sergei Golubchik
2024-07-18 15:20:42 +02:00
parent 99178311ac
commit 3a1cf2c85b
349 changed files with 1218 additions and 1796 deletions

View File

@ -4543,33 +4543,33 @@ insert into t1 values (3), (7), (1);
with recursive
r as (select * from t1 union select s1.* from t1 as s1, r where s1.a = r.b)
select * from t1 as t;
ERROR 42S22: Unknown column 'r.b' in 'where clause'
ERROR 42S22: Unknown column 'r.b' in 'WHERE'
explain with recursive
r as (select * from t1 union select s1.* from t1 as s1, r where s1.a = r.b)
select * from t1 as t;
ERROR 42S22: Unknown column 'r.b' in 'where clause'
ERROR 42S22: Unknown column 'r.b' in 'WHERE'
create procedure sp1() with recursive
r as (select * from t1 union select s1.* from t1 as s1, r where s1.a = r.b)
select * from t1 as t;
call sp1();
ERROR 42S22: Unknown column 'r.b' in 'where clause'
ERROR 42S22: Unknown column 'r.b' in 'WHERE'
call sp1();
ERROR 42S22: Unknown column 'r.b' in 'where clause'
ERROR 42S22: Unknown column 'r.b' in 'WHERE'
with recursive
r as (select * from t1 union select s1.* from t1 as s1, r where s1.b = r.a)
select * from t1 as t;
ERROR 42S22: Unknown column 's1.b' in 'where clause'
ERROR 42S22: Unknown column 's1.b' in 'WHERE'
explain with recursive
r as (select * from t1 union select s1.* from t1 as s1, r where s1.b = r.a)
select * from t1 as t;
ERROR 42S22: Unknown column 's1.b' in 'where clause'
ERROR 42S22: Unknown column 's1.b' in 'WHERE'
create procedure sp2() with recursive
r as (select * from t1 union select s1.* from t1 as s1, r where s1.b = r.a)
select * from t1 as t;
call sp2();
ERROR 42S22: Unknown column 's1.b' in 'where clause'
ERROR 42S22: Unknown column 's1.b' in 'WHERE'
call sp2();
ERROR 42S22: Unknown column 's1.b' in 'where clause'
ERROR 42S22: Unknown column 's1.b' in 'WHERE'
drop procedure sp1;
drop procedure sp2;
drop table t1;