diff options
author | Oleksandr Byelkin <sanja@mariadb.com> | 2022-11-02 16:07:38 +0100 |
---|---|---|
committer | Oleksandr Byelkin <sanja@mariadb.com> | 2022-11-02 16:07:38 +0100 |
commit | 33825755c76cd71cbd299d9daff0da75ca04bcf8 (patch) | |
tree | 333d70b9b64c0c6eb3eb861c0bfc3f87787c8f89 /sql/sql_class.cc | |
parent | e0421b7cc8969edefca25c9a47e24f7e77c4bdf6 (diff) | |
parent | 15de3aa2f5b0fb5404a00f1a3cd5c0291f0ef67d (diff) | |
download | mariadb-git-33825755c76cd71cbd299d9daff0da75ca04bcf8.tar.gz |
Merge branch '10.7' into 10.8
Diffstat (limited to 'sql/sql_class.cc')
-rw-r--r-- | sql/sql_class.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sql/sql_class.cc b/sql/sql_class.cc index 0913b3834f8..69dff371f11 100644 --- a/sql/sql_class.cc +++ b/sql/sql_class.cc @@ -3721,8 +3721,10 @@ int select_max_min_finder_subselect::send_data(List<Item> &items) { cache= val_item->get_cache(thd); set_op(val_item->type_handler()); + cache->setup(thd, val_item); } - cache->store(val_item); + else + cache->store(val_item); it->store(0, cache); } it->assigned(1); |