copy-paste error fixed

thanks @FaramosCZ
This commit is contained in:
Sergei Golubchik 2019-04-07 15:49:30 +02:00
parent 7d720ca8de
commit 5023e465a9

View file

@ -6091,7 +6091,7 @@ drop_create_field:
Key_part_spec *kp; Key_part_spec *kp;
if ((kp= part_it++)) if ((kp= part_it++))
chkname= kp->field_name.str; chkname= kp->field_name.str;
if (keyname == NULL) if (chkname == NULL)
continue; continue;
} }
if (key->type == chk_key->type && if (key->type == chk_key->type &&