1
0
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:
unknown 2005-12-26 09:46:25 +03:00
parent 32ff7d99d4
commit b3abc9773e

View File

@ -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;
}