summaryrefslogtreecommitdiff
path: root/sql/handler.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/handler.cc')
-rw-r--r--sql/handler.cc4
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);