1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

fixed sqlstate for ER_WRONG_INDEX_NAME

removed unnesessary code from create.test
This commit is contained in:
vva@eagle.mysql.r18.ru
2003-10-16 16:15:45 -04:00
parent c74da8bbd7
commit 1692d2de15
3 changed files with 2 additions and 5 deletions

View File

@ -159,3 +159,4 @@ ER_WARN_TOO_MANY_RECORDS, "01000", "",
ER_WARN_NULL_TO_NOTNULL, "01000", "", ER_WARN_NULL_TO_NOTNULL, "01000", "",
ER_WARN_DATA_OUT_OF_RANGE, "01000", "", ER_WARN_DATA_OUT_OF_RANGE, "01000", "",
ER_WARN_DATA_TRUNCATED, "01000", "", ER_WARN_DATA_TRUNCATED, "01000", "",
ER_WRONG_INDEX_NAME, "42000", "",

View File

@ -70,10 +70,7 @@ ERROR 42000: Incorrect table name ''
create table t1 (`` int); create table t1 (`` int);
ERROR 42000: Incorrect column name '' ERROR 42000: Incorrect column name ''
create table t1 (i int, index `` (i)); create table t1 (i int, index `` (i));
ERROR HY000: Incorrect index name '' ERROR 42000: Incorrect index name ''
drop table if exists t1;
Warnings:
Note 1051 Unknown table 't1'
create table t1 (a int auto_increment not null primary key, B CHAR(20)); create table t1 (a int auto_increment not null primary key, B CHAR(20));
insert into t1 (b) values ("hello"),("my"),("world"); insert into t1 (b) values ("hello"),("my"),("world");
create table t2 (key (b)) select * from t1; create table t2 (key (b)) select * from t1;

View File

@ -74,7 +74,6 @@ drop table if exists ``;
create table t1 (`` int); create table t1 (`` int);
--error 1279 --error 1279
create table t1 (i int, index `` (i)); create table t1 (i int, index `` (i));
drop table if exists t1;
# #
# Test of CREATE ... SELECT with indexes # Test of CREATE ... SELECT with indexes