Commit 81452dbc authored by sergefp@mysql.com's avatar sergefp@mysql.com

WL#2985 "Partition pruning": fixes to post-review fixes: when modifying SEL_TREE::keys,

adjust SEL_TREE::keys_map appropriately.
parent 15780cb3
......@@ -5388,7 +5388,10 @@ static bool remove_nonrange_trees(RANGE_OPT_PARAM *param, SEL_TREE *tree)
if (tree->keys[i])
{
if (tree->keys[i]->part)
{
tree->keys[i]= NULL;
tree->keys_map.clear_bit(i);
}
else
res= TRUE;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment