diff options
author | Sergei Petrunia <psergey@askmonty.org> | 2016-06-22 23:20:41 +0300 |
---|---|---|
committer | Sergei Petrunia <psergey@askmonty.org> | 2016-06-22 23:20:41 +0300 |
commit | 3e03b89b0a683dd3b14d6ea24d2ca93accdfd61f (patch) | |
tree | 7a7dff827f7d79d5ed3406726bceec5910a83629 /sql/opt_range.cc | |
parent | 63120090f994cc78876944e9f7a76f53337fa46e (diff) | |
download | mariadb-git-3e03b89b0a683dd3b14d6ea24d2ca93accdfd61f.tar.gz |
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.
Diffstat (limited to 'sql/opt_range.cc')
-rw-r--r-- | sql/opt_range.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/opt_range.cc b/sql/opt_range.cc index 3d059abd666..b262b0c4191 100644 --- a/sql/opt_range.cc +++ b/sql/opt_range.cc @@ -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 { |