diff options
author | Sergei Golubchik <serg@mariadb.org> | 2022-02-10 21:07:03 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2022-02-10 21:07:03 +0100 |
commit | e3894f5d397722dd50fb91dbbdbad3aaf017a4b0 (patch) | |
tree | 5d10a3e673c780b1588cda82e88a3d899345c416 /sql/item_windowfunc.cc | |
parent | cce994057bf7e2bdb62686075de03aeb5db4bbda (diff) | |
parent | 9aa3564e8a06c3d2027fc514213ecf42b049b06e (diff) | |
download | mariadb-git-e3894f5d397722dd50fb91dbbdbad3aaf017a4b0.tar.gz |
Merge branch '10.5 into 10.6mariadb-10.6.7
Diffstat (limited to 'sql/item_windowfunc.cc')
-rw-r--r-- | sql/item_windowfunc.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/item_windowfunc.cc b/sql/item_windowfunc.cc index a9e008b0b92..4fef4fa10b2 100644 --- a/sql/item_windowfunc.cc +++ b/sql/item_windowfunc.cc @@ -111,6 +111,8 @@ Item_window_func::fix_fields(THD *thd, Item **ref) return true; } + window_func()->mark_as_window_func_sum_expr(); + /* TODO: why the last parameter is 'ref' in this call? What if window_func decides to substitute itself for something else and does *ref=.... ? |