mirror of
https://github.com/MariaDB/server.git
synced 2025-05-07 04:01:59 +03:00
WL#2985 "Partition pruning": fixes to post-review fixes: when modifying SEL_TREE::keys,
adjust SEL_TREE::keys_map appropriately.
This commit is contained in:
parent
32ff7d99d4
commit
b3abc9773e
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user