summaryrefslogtreecommitdiff
path: root/sql/sql_select.cc
diff options
context:
space:
mode:
authorTor Didriksen <tor.didriksen@oracle.com>2010-12-20 10:00:14 +0100
committerTor Didriksen <tor.didriksen@oracle.com>2010-12-20 10:00:14 +0100
commitdd4c094652ef907af66704a4b02ed26ae1a79986 (patch)
tree6d05aff3f25e84e2ea212486c003626c55c65531 /sql/sql_select.cc
parent83d8d3851ef90104592b29e093af487dd4be1f73 (diff)
downloadmariadb-git-dd4c094652ef907af66704a4b02ed26ae1a79986.tar.gz
Bug #59021 Valgrind warning in key_unpack()
Introduced by fix for Bug#57687 sql/sql_select.cc: Add missing initialization of key_part_info->key_part_flag
Diffstat (limited to 'sql/sql_select.cc')
-rw-r--r--sql/sql_select.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_select.cc b/sql/sql_select.cc
index e14b872d18e..3b8dc2e170a 100644
--- a/sql/sql_select.cc
+++ b/sql/sql_select.cc
@@ -10720,6 +10720,7 @@ create_tmp_table(THD *thd,TMP_TABLE_PARAM *param,List<Item> &fields,
(ha_base_keytype) key_part_info->type == HA_KEYTYPE_VARTEXT1 ||
(ha_base_keytype) key_part_info->type == HA_KEYTYPE_VARTEXT2) ?
0 : FIELDFLAG_BINARY;
+ key_part_info->key_part_flag= 0;
if (!using_unique_constraint)
{
cur_group->buff=(char*) group_buff;