summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2019-04-07 15:49:30 +0200
committerSergei Golubchik <serg@mariadb.org>2019-04-07 15:49:30 +0200
commit5023e465a9e82503c7521b2d555c8d2350528911 (patch)
treee61565e53ad26e4b854f40a238a97d921a309984
parent7d720ca8de1b19cff73f0833f1d95924f1088487 (diff)
downloadmariadb-git-5023e465a9e82503c7521b2d555c8d2350528911.tar.gz
copy-paste error fixed
thanks @FaramosCZ
-rw-r--r--sql/sql_table.cc2
1 files changed, 1 insertions, 1 deletions
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 &&