diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2022-02-09 16:24:19 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2022-02-09 16:24:19 +0200 |
commit | c75e3770dc9dc3154538c10c51deb2d095a5e232 (patch) | |
tree | 2d45c07ce1e7c60b991fb47c90412b08a61d7c0a /sql/opt_range.cc | |
parent | 12cd3dc78d2a58a15377000a7a8adb92d4fa74fb (diff) | |
parent | 70a8875564799c726960cc644dc6eed7ca499e71 (diff) | |
download | mariadb-git-c75e3770dc9dc3154538c10c51deb2d095a5e232.tar.gz |
Merge 10.7 into 10.8
Diffstat (limited to 'sql/opt_range.cc')
-rw-r--r-- | sql/opt_range.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/opt_range.cc b/sql/opt_range.cc index 762fd7cf221..391a04c2a1a 100644 --- a/sql/opt_range.cc +++ b/sql/opt_range.cc @@ -14112,7 +14112,7 @@ get_best_group_min_max(PARAM *param, SEL_TREE *tree, double read_time) key_part_range[1]= last_part; /* Check if cur_part is referenced in the WHERE clause. */ - if (join->conds->walk(&Item::find_item_in_field_list_processor, 0, + if (join->conds->walk(&Item::find_item_in_field_list_processor, true, key_part_range)) { cause= "keypart reference from where clause"; |