diff options
author | Sachin <sachin.setiya@mariadb.com> | 2019-01-09 14:04:36 +0530 |
---|---|---|
committer | Sachin <sachin.setiya@mariadb.com> | 2019-01-09 14:13:56 +0530 |
commit | 4424602452c06c6b7d4403ad36d8fc8687e297f5 (patch) | |
tree | 405bd95796f56e5f94b1b491d348029ab8814839 /sql/handler.cc | |
parent | 3724a5b5f477df5c562a86024776ec7513193b11 (diff) | |
download | mariadb-git-10.4-blob-index-optimizer.tar.gz |
optimizer 210.4-blob-index-optimizer
Diffstat (limited to 'sql/handler.cc')
-rw-r--r-- | sql/handler.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/handler.cc b/sql/handler.cc index 6dcac49629e..1d905d92da8 100644 --- a/sql/handler.cc +++ b/sql/handler.cc @@ -2879,7 +2879,7 @@ int read_long_unique_index(TABLE *table, uint index, const uchar *key) KEY_PART_INFO *key_part; Field *field; //Copy key to table->record , So that we can get long_unique_key - re_setup_keyinfo_hash(key_info); + setup_keyinfo_hash(key_info); key_part= key_info->key_part; for (uint i= 0; i < key_info->user_defined_key_parts; i++) { @@ -2888,7 +2888,7 @@ int read_long_unique_index(TABLE *table, uint index, const uchar *key) field->set_notnull(); key_part++; } - setup_keyinfo_hash(key_info); + re_setup_keyinfo_hash(key_info); field= key_info->key_part->field; table->update_virtual_field(field); return check_duplicate_long_entry_key(table, table->file, table->record[0], index); |