Commit 5023e465 authored by Sergei Golubchik's avatar Sergei Golubchik

copy-paste error fixed

thanks @FaramosCZ
parent 7d720ca8
......@@ -6091,7 +6091,7 @@ handle_if_exists_options(THD *thd, TABLE *table, Alter_info *alter_info)
Key_part_spec *kp;
if ((kp= part_it++))
chkname= kp->field_name.str;
if (keyname == NULL)
if (chkname == NULL)
continue;
}
if (key->type == chk_key->type &&
......
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