summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2018-10-09 18:10:48 +0200
committerSergei Golubchik <serg@mariadb.org>2018-11-06 13:36:50 +0100
commit9bf8568c042c2119c93a29e4ef89a63e76a84813 (patch)
tree0972484c1987f5bbe1672ffd013d82f12fa444fd
parentdf563e0c037f9b2cdb22e145575f92a121b4b529 (diff)
downloadmariadb-git-9bf8568c042c2119c93a29e4ef89a63e76a84813.tar.gz
fix an old typo
-rw-r--r--sql/table.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/table.cc b/sql/table.cc
index ccb580badf3..1e09bb83210 100644
--- a/sql/table.cc
+++ b/sql/table.cc
@@ -2433,7 +2433,7 @@ int TABLE_SHARE::init_from_binary_frm_image(THD *thd, bool write,
if (!(key_part->key_part_flag & (HA_BLOB_PART | HA_VAR_LENGTH_PART |
HA_BIT_PART)) &&
key_part->type != HA_KEYTYPE_FLOAT &&
- key_part->type == HA_KEYTYPE_DOUBLE)
+ key_part->type != HA_KEYTYPE_DOUBLE)
key_part->key_part_flag|= HA_CAN_MEMCMP;
}
keyinfo->usable_key_parts= usable_parts; // Filesort