1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

MDEV-10185: Assertion `tree1->keys[key_no] && tree2->keys[key_no]' failed in

Make tree_or set correct SEL_TREE::keys_map for the result.
This commit is contained in:
Sergei Petrunia
2016-06-22 23:20:41 +03:00
parent 63120090f9
commit 3e03b89b0a
4 changed files with 32 additions and 0 deletions

View File

@ -8580,6 +8580,7 @@ tree_or(RANGE_OPT_PARAM *param,SEL_TREE *tree1,SEL_TREE *tree2)
for e.g. "key IN (c1, ..., cN)" which produces a lot of ranges.
*/
result= tree1;
result->keys_map.clear_all();
}
else
{