Commit 76a0ed2e authored by Alexey Botchkov's avatar Alexey Botchkov

alter_table.test bug fixed.

        Wrong argument for the my_error function fixed.
parent 3630a00e
......@@ -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);
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment