1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

alter_table.test bug fixed.

Wrong argument for the my_error function fixed.
This commit is contained in:
Alexey Botchkov
2016-09-12 13:11:35 +04:00
parent 3630a00e25
commit 76a0ed2e03

View File

@@ -4213,7 +4213,7 @@ mysql_prepare_create_table(THD *thd, HA_CREATE_INFO *create_info,
my_strcasecmp(system_charset_info,
check->name.str, dup_check->name.str) == 0)
{
my_error(ER_DUP_CONSTRAINT_NAME, MYF(0), "CHECK", check->name);
my_error(ER_DUP_CONSTRAINT_NAME, MYF(0), "CHECK", check->name.str);
DBUG_RETURN(TRUE);
}
}