Skip to content

Commit 7ef8f2a

Browse files
author
Ajo Robert
committed
Bug#26129019 POSSIBLE UNINTENDED USAGE OF "KEYINFO" VARIABLE
Typo error. Replaced with proper variable.
1 parent 6510a15 commit 7ef8f2a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sql/sql_tmp_table.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
1+
/* Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved.
22
33
This program is free software; you can redistribute it and/or modify
44
it under the terms of the GNU General Public License as published by
@@ -1494,7 +1494,7 @@ create_tmp_table(THD *thd, Temp_table_param *param, List<Item> &fields,
14941494
hash_key->actual_key_parts= hash_key->usable_key_parts= 1;
14951495
hash_key->user_defined_key_parts= 1;
14961496
hash_key->set_rec_per_key_array(NULL, NULL);
1497-
keyinfo->set_in_memory_estimate(IN_MEMORY_ESTIMATE_UNKNOWN);
1497+
hash_key->set_in_memory_estimate(IN_MEMORY_ESTIMATE_UNKNOWN);
14981498
hash_key->algorithm= HA_KEY_ALG_UNDEF;
14991499
if (distinct)
15001500
hash_key->name= (char*) "<hash_distinct_key>";

0 commit comments

Comments
 (0)