summaryrefslogtreecommitdiff
path: root/sql/sql_class.cc
diff options
context:
space:
mode:
authorOleksandr Byelkin <sanja@mariadb.com>2022-11-02 21:43:42 +0100
committerOleksandr Byelkin <sanja@mariadb.com>2022-11-02 21:43:42 +0100
commit7fef00fdd791fe37590782ac52c8038a88da6c1b (patch)
tree53b532b44abfac271c6f2dab89618b32efb4e402 /sql/sql_class.cc
parentebf2121529fcf06971b4c0fc28f40654ef8dd99f (diff)
parent63a3dffeb62d7b4b39453ac2a01f992ba2795240 (diff)
downloadmariadb-git-7fef00fdd791fe37590782ac52c8038a88da6c1b.tar.gz
Merge branch '10.8' into 10.9
Diffstat (limited to 'sql/sql_class.cc')
-rw-r--r--sql/sql_class.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/sql/sql_class.cc b/sql/sql_class.cc
index 8644eade158..57da25b5800 100644
--- a/sql/sql_class.cc
+++ b/sql/sql_class.cc
@@ -3722,8 +3722,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);