summaryrefslogtreecommitdiff
path: root/sql/opt_subselect.cc
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2014-06-09 20:18:53 +0200
committerSergei Golubchik <sergii@pisem.net>2014-06-09 20:18:53 +0200
commit2510f9c6066f8702fad6865330bf99031f9b4b60 (patch)
tree69062a5c22cab8230db8424fe4475b41c1ccbf03 /sql/opt_subselect.cc
parentdc9b2a95bff1fbcd5cb9f91a0ed3ba9caef17c49 (diff)
downloadmariadb-git-2510f9c6066f8702fad6865330bf99031f9b4b60.tar.gz
cleanup: remove special case from store_key::store_key(), add Field_blob::new_key_field
(prep for MDEV-6065)
Diffstat (limited to 'sql/opt_subselect.cc')
-rw-r--r--sql/opt_subselect.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/opt_subselect.cc b/sql/opt_subselect.cc
index e00083c4b8b..6e65b5ea177 100644
--- a/sql/opt_subselect.cc
+++ b/sql/opt_subselect.cc
@@ -4120,6 +4120,7 @@ SJ_TMP_TABLE::create_sj_weedout_tmp_table(THD *thd)
{
if (!(key_field= field->new_key_field(thd->mem_root, table,
group_buff,
+ key_part_info->length,
field->null_ptr,
field->null_bit)))
goto err;