Skip to content

Commit 333ac13

Browse files
committed
Make sure to return the result value when calling Item_windowfunc::val_real()
This caused Item_windowfunc to return garbage.
1 parent 8333043 commit 333ac13

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sql/item_windowfunc.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -497,6 +497,7 @@ class Item_window_func : public Item_result_field
497497
res= window_func->val_real();
498498
null_value= window_func->null_value;
499499
}
500+
return res;
500501
}
501502

502503
longlong val_int()

0 commit comments

Comments
 (0)