Skip to content

Commit 162ea7c

Browse files
committed
Fix a problem in code for percent_rank().
The problem popped up when running win_percent_cume.test with --ps-protocol.
1 parent 0b89c61 commit 162ea7c

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
@@ -409,6 +409,7 @@ class Item_sum_percent_rank: public Item_sum_window_with_row_count
409409
void cleanup()
410410
{
411411
peer_tracker.cleanup();
412+
Item_sum_num::cleanup();
412413
}
413414
};
414415

0 commit comments

Comments
 (0)