• Vicențiu Ciorbaru's avatar
    Fix 2 more bugs in item_windowfunc. · aa74fef2
    Vicențiu Ciorbaru authored
    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.
    aa74fef2
win_sum.test 919 Bytes