diff options
author | Vicențiu Ciorbaru <vicentiu@mariadb.org> | 2016-09-20 20:44:49 +0200 |
---|---|---|
committer | Vicențiu Ciorbaru <vicentiu@mariadb.org> | 2016-09-24 15:12:34 +0200 |
commit | 9a5930bcdfc72f3b63569332205d8574a586247d (patch) | |
tree | 4150dfb558f0fb7a11bb1c5f01607c99d508ba4c /sql/item_sum.h | |
parent | e413c6e9e764469bc26ffd978e0fb6c84c4ff896 (diff) | |
download | mariadb-git-9a5930bcdfc72f3b63569332205d8574a586247d.tar.gz |
Implement first_value and last_value as window functions
Currently the implementation doesn't support removal, thus the
computation is performed by running over the window frame again.
Diffstat (limited to 'sql/item_sum.h')
-rw-r--r-- | sql/item_sum.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_sum.h b/sql/item_sum.h index 16835441125..d7d583a6fed 100644 --- a/sql/item_sum.h +++ b/sql/item_sum.h @@ -350,7 +350,7 @@ public: AVG_DISTINCT_FUNC, MIN_FUNC, MAX_FUNC, STD_FUNC, VARIANCE_FUNC, SUM_BIT_FUNC, UDF_SUM_FUNC, GROUP_CONCAT_FUNC, ROW_NUMBER_FUNC, RANK_FUNC, DENSE_RANK_FUNC, PERCENT_RANK_FUNC, - CUME_DIST_FUNC, NTILE_FUNC + CUME_DIST_FUNC, NTILE_FUNC, FIRST_VALUE_FUNC, LAST_VALUE_FUNC }; Item **ref_by; /* pointer to a ref to the object used to register it */ |