diff options
author | Sergei Golubchik <serg@mariadb.org> | 2022-02-10 20:39:13 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2022-02-10 20:39:13 +0100 |
commit | b4477ae73c836592268f7fb231eeb38a4fa83bb6 (patch) | |
tree | 33125bf4eb4729bd7551c9d2d339fdea5f1ecb58 /sql/item_windowfunc.cc | |
parent | 8a7776a83d6251221779bef3baf2e23234a12fa6 (diff) | |
parent | a36fc80aeb3f835fad02f443d65dc608b74b92d1 (diff) | |
download | mariadb-git-b4477ae73c836592268f7fb231eeb38a4fa83bb6.tar.gz |
Merge branch '10.3' into 10.4mariadb-10.4.24
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 5a114b7a193..11fc18b1817 100644 --- a/sql/item_windowfunc.cc +++ b/sql/item_windowfunc.cc @@ -109,6 +109,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=.... ? |