Details
Description
The following test case demonstrates the problem:
drop database test; |
create database test; |
create table test.t1 (a int); |
insert into test.t1 values (3),(7),(1); |
create view test.v2 as select * from (select * from test.t1) as t; |
select test.v2.a from test.v2; |
MariaDB [(none)]> select test.v2.a from test.v2;
|
ERROR 1356 (HY000): View 'test.v2' references invalid table(s) or column(s) or function(s) or definer/invoker of view lack rights to use them
|
Attachments
Issue Links
- blocks
-
MDEV-22781 CREATE VIEW containing WITH clause Signal 11
- Closed