From 5023e465a9e82503c7521b2d555c8d2350528911 Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Sun, 7 Apr 2019 15:49:30 +0200 Subject: copy-paste error fixed thanks @FaramosCZ --- sql/sql_table.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sql') diff --git a/sql/sql_table.cc b/sql/sql_table.cc index 071f4763b34..bb6945c7e01 100644 --- a/sql/sql_table.cc +++ b/sql/sql_table.cc @@ -6091,7 +6091,7 @@ drop_create_field: 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 && -- cgit v1.2.1