mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
test of duplicate field names (BUG#4608)
mysql-test/r/view.result: test of duplicate field names mysql-test/t/view.test: test of duplicate field names sql/sql_view.cc: test of duplicate field names
This commit is contained in:
@ -975,3 +975,5 @@ drop table t1;
|
||||
select * from v1;
|
||||
ERROR HY000: View 'test.v1' references invalid table(s) or column(s)
|
||||
drop view v1;
|
||||
create view v1 (a,a) as select 'a','a';
|
||||
ERROR 42S21: Duplicate column name 'a'
|
||||
|
@ -894,3 +894,9 @@ drop table t1;
|
||||
-- error 1354
|
||||
select * from v1;
|
||||
drop view v1;
|
||||
|
||||
#
|
||||
# check of duplication of column names
|
||||
#
|
||||
-- error 1060
|
||||
create view v1 (a,a) as select 'a','a';
|
||||
|
Reference in New Issue
Block a user