summaryrefslogtreecommitdiff
path: root/mysql-test/t/win_sum.test
Commit message (Collapse)AuthorAgeFilesLines
* Fix 2 more bugs in item_windowfunc.Vicențiu Ciorbaru2016-03-161-3/+18
| | | | | | | | | | | 1. Item_windowfunc must check the nullness of the field if it returns the value from the result_field. 2. The decimal value must come from the window_func instead of the result_field when not fetching values from the result_field. Added a more extensive test case that highlights if these bugs occur. The 2 select statements check behaviour for decimal and real typed fields respectively.
* Preliminary implementation for the aggregate sum function as a window functionVicențiu Ciorbaru2016-03-141-0/+32
This implementation does not deal with the case where removal of elements from the window frame causes the item to turn to a null value.