Commit fb796ece authored by unknown's avatar unknown

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

adjust SEL_TREE::keys_map appropriately.
parent 8c0712b9
......@@ -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