Skip to content

Commit

Permalink
alter_table.test bug fixed.
Browse files Browse the repository at this point in the history
        Wrong argument for the my_error function fixed.
  • Loading branch information
Alexey Botchkov committed Sep 12, 2016
1 parent 3630a00 commit 76a0ed2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sql/sql_table.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down

0 comments on commit 76a0ed2

Please sign in to comment.