diff options
author | Oleksandr Byelkin <sanja@mariadb.com> | 2018-11-20 10:58:34 +0100 |
---|---|---|
committer | Oleksandr Byelkin <sanja@mariadb.com> | 2018-11-27 14:33:39 +0100 |
commit | 555921a9c3ddcd638e7f08ea117738640e300875 (patch) | |
tree | e6cbc156d1fc1424f1d2356810e3a82604167199 /sql/item_sum.h | |
parent | a956260d826650f0a35779621c5987dc30f7ba04 (diff) | |
download | mariadb-git-555921a9c3ddcd638e7f08ea117738640e300875.tar.gz |
MDEV-15073: Generic UDAF parser code in server for windows functions
Added support for usual agreggate UDF (UDAF)
Added remove() call support for more efficient window function processing
Added example of aggregate UDF with efficient windows function support
Diffstat (limited to 'sql/item_sum.h')
-rw-r--r-- | sql/item_sum.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/item_sum.h b/sql/item_sum.h index f58fa0b9688..01583d32f45 100644 --- a/sql/item_sum.h +++ b/sql/item_sum.h @@ -1563,6 +1563,8 @@ public: void clear(); bool add(); + bool supports_removal() const; + void remove(); void reset_field() {}; void update_field() {}; void cleanup(); |