mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Implemented cume_dist function.
Also fixed a bug in row_counts detection, when partition changes.
This commit is contained in:
@ -923,8 +923,8 @@ class Frame_unbounded_following_set_count : public Frame_unbounded_following
|
||||
/* Read the first row */
|
||||
if (cursor.get_next())
|
||||
return;
|
||||
num_rows_in_partition++;
|
||||
}
|
||||
num_rows_in_partition++;
|
||||
|
||||
/* Remember which partition we are in */
|
||||
bound_tracker.check_if_next_group();
|
||||
@ -1412,8 +1412,6 @@ bool compute_window_func_with_frames(Item_window_func *item_win,
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/* Make a list that is a concation of two lists of ORDER elements */
|
||||
|
||||
static ORDER* concat_order_lists(MEM_ROOT *mem_root, ORDER *list1, ORDER *list2)
|
||||
|
Reference in New Issue
Block a user