Commit b3abc977 authored by unknown's avatar unknown
Browse files

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

adjust SEL_TREE::keys_map appropriately.

parent 32ff7d99
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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;
    }