mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
Merge branch '10.11' into 11.2
This commit is contained in:
@@ -8820,7 +8820,7 @@ SEL_TREE *Item::get_mm_tree_for_const(RANGE_OPT_PARAM *param)
|
||||
param->thd->mem_root= param->old_root;
|
||||
SEL_TREE *tree;
|
||||
|
||||
const SEL_TREE::Type type= val_int()? SEL_TREE::ALWAYS: SEL_TREE::IMPOSSIBLE;
|
||||
const SEL_TREE::Type type= val_bool()? SEL_TREE::ALWAYS: SEL_TREE::IMPOSSIBLE;
|
||||
param->thd->mem_root= tmp_root;
|
||||
|
||||
tree= new (tmp_root) SEL_TREE(type, tmp_root, param->keys);
|
||||
|
Reference in New Issue
Block a user