mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
fixed sqlstate for ER_WRONG_INDEX_NAME
removed unnesessary code from create.test include/sql_state.h: added sqlstate for ER_WRONG_INDEX_NAME mysql-test/r/create.result: changed sqlstate for ER_WRONG_INDEX_NAME remove unnesesary warning mysql-test/t/create.test: remove unnesessary drop table
This commit is contained in:
@ -70,10 +70,7 @@ ERROR 42000: Incorrect table name ''
|
||||
create table t1 (`` int);
|
||||
ERROR 42000: Incorrect column name ''
|
||||
create table t1 (i int, index `` (i));
|
||||
ERROR HY000: Incorrect index name ''
|
||||
drop table if exists t1;
|
||||
Warnings:
|
||||
Note 1051 Unknown table 't1'
|
||||
ERROR 42000: Incorrect index name ''
|
||||
create table t1 (a int auto_increment not null primary key, B CHAR(20));
|
||||
insert into t1 (b) values ("hello"),("my"),("world");
|
||||
create table t2 (key (b)) select * from t1;
|
||||
|
Reference in New Issue
Block a user