1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

Bug#10413 - Invalid column name is not rejected

Stop ignoring name parts and check for validity
This commit is contained in:
acurtis@xiphis.org
2005-05-31 18:06:54 +01:00
parent e8a6fa4278
commit c4f37eda65
3 changed files with 47 additions and 1 deletions

View File

@ -563,3 +563,12 @@ select * from t2;
b
1
drop table t1,t2;
create table t1(column.name int);
ERROR 42000: Incorrect table name 'column'
create table t1(test.column.name int);
ERROR 42000: Incorrect table name 'column'
create table t1(xyz.t1.name int);
ERROR 42000: Incorrect database name 'xyz'
create table t1(t1.name int);
create table t2(test.t2.name int);
drop table t1,t2;