mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
Delete duplicate error message names
This commit is contained in:
@ -443,7 +443,7 @@ int mysql_create_table(THD *thd,const char *db, const char *table_name,
|
||||
|
||||
if (check_column_name(sql_field->field_name))
|
||||
{
|
||||
my_error(ER_WRONG_NAME_FOR_COLUMN, MYF(0), sql_field->field_name);
|
||||
my_error(ER_WRONG_COLUMN_NAME, MYF(0), sql_field->field_name);
|
||||
DBUG_RETURN(-1);
|
||||
}
|
||||
|
||||
@ -1754,7 +1754,7 @@ int mysql_create_like_table(THD* thd, TABLE_LIST* table,
|
||||
check_table_name(src_table,table_ident->table.length)) ||
|
||||
table_ident->db.str && check_db_name((src_db= table_ident->db.str)))
|
||||
{
|
||||
my_error(ER_WRONG_NAME_FOR_TABLE, MYF(0), src_table);
|
||||
my_error(ER_WRONG_TABLE_NAME, MYF(0), src_table);
|
||||
DBUG_RETURN(-1);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user