summaryrefslogtreecommitdiff
path: root/sql/sql_expression_cache.cc
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2023-03-06 13:38:39 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2023-03-06 13:38:39 +0200
commit4ccb2be65fc1d392602473d50f8d9df29635a3eb (patch)
tree213b3f9165198c14382daa56e53c538fbc1d3602 /sql/sql_expression_cache.cc
parent0bf400a19a14e257a28a99b0f102c799ab3de49b (diff)
parent46a7603813e74b48e948a5287c40a93fbb5bbf4d (diff)
downloadmariadb-git-4ccb2be65fc1d392602473d50f8d9df29635a3eb.tar.gz
Merge 10.9 into 10.10
Diffstat (limited to 'sql/sql_expression_cache.cc')
-rw-r--r--sql/sql_expression_cache.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_expression_cache.cc b/sql/sql_expression_cache.cc
index bc44ecd79fa..69d85f3343d 100644
--- a/sql/sql_expression_cache.cc
+++ b/sql/sql_expression_cache.cc
@@ -114,7 +114,7 @@ void Expression_cache_tmptable::init()
cache_table_param.init();
/* dependent items and result */
- cache_table_param.field_count= items.elements;
+ cache_table_param.field_count= cache_table_param.func_count= items.elements;
/* postpone table creation to index description */
cache_table_param.skip_create_table= 1;