Commit 162ea7c0 authored by Igor Babaev's avatar Igor Babaev

Fix a problem in code for percent_rank().

The problem popped up when running win_percent_cume.test
with --ps-protocol.
parent 0b89c614
...@@ -409,6 +409,7 @@ class Item_sum_percent_rank: public Item_sum_window_with_row_count ...@@ -409,6 +409,7 @@ class Item_sum_percent_rank: public Item_sum_window_with_row_count
void cleanup() void cleanup()
{ {
peer_tracker.cleanup(); peer_tracker.cleanup();
Item_sum_num::cleanup();
} }
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment