- 04 Apr, 2016 3 commits
-
-
Vicențiu Ciorbaru authored
The current implementation does not allow for a dynamic expression within the sum function's parameter.
-
Vicențiu Ciorbaru authored
-
Vicențiu Ciorbaru authored
-
- 01 Apr, 2016 3 commits
-
-
Igor Babaev authored
The problem popped up when running win_percent_cume.test with --ps-protocol.
-
Igor Babaev authored
Window names has to be resolved only once.
-
Igor Babaev authored
that the call-back comparison function returns a positive number when arg1 < arg2, and a negative number when arg1 > arg2. This is not in line with other implementation of sorting algorithm. Changed bubble_sort: now a negative result from the comparison function means that arg1 < arg2, and positive result means that arg1 > arg2. Changed accordingly all call-back functions that are used as parameters in the call of bubble_sort. Added a test case to check the proper sorting of window functions.
-
- 30 Mar, 2016 4 commits
-
-
Igor Babaev authored
The function did not take into account the case when only one of of the pointers to the compared frames is NULL.
-
Sergei Petrunia authored
This will be useful for window functions development.
-
Sergei Petrunia authored
-
Igor Babaev authored
of the temporary table needed to compute them.
-
- 28 Mar, 2016 10 commits
-
-
Vicențiu Ciorbaru authored
-
Vicențiu Ciorbaru authored
Also fixed a bug in row_counts detection, when partition changes.
-
Vicențiu Ciorbaru authored
The percent_rank function now is compatible with the cursor algorithm. We no longer need a special implementation for it to work.
-
Vicențiu Ciorbaru authored
Instead of relying solely on top bound and bottom bound cursors, now we create a list of cursors that are iterated over.
-
Sergei Petrunia authored
-
Sergei Petrunia authored
-
Sergei Petrunia authored
- Hook window function computation into the right location. - Add a testcase which shows that HAVING is now checked before the window function computation step.
-
Sergei Petrunia authored
-
Sergei Petrunia authored
- Make EXPLAIN code use the post-join operations - Remove Sort_and_group_tracker that was used for that purpose
-
Sergey Vojtovich authored
man page updates: mysqlbinlog options, mysqlcheck clarification and 10.2 updates
-
- 27 Mar, 2016 5 commits
-
-
Sergei Petrunia authored
-
Sergei Petrunia authored
We can call setup_partition_border_check() from JOIN::make_aggr_tables_info(), provided that call is made after appropriate set_items_ref_array() call.
-
Sergei Petrunia authored
-
Sergei Petrunia authored
gbh != NULL is handled in a separate branch above, we don't get into this part of code when gbh!=NULL
-
Sergei Petrunia authored
Added class Window_funcs_computation, with setup() method to setup execution, and exec() to run window function computation. setup() is currently trivial. In the future, it is expected to optimize the number of sorting operations and passes that are done over the temp. table.
-
- 25 Mar, 2016 3 commits
-
-
Alexander Barkov authored
as it can return negative values. The typo was introduced in the patch for MDEV-9665 in 10.2.0.
-
Oleksandr Byelkin authored
-
Alexander Barkov authored
as they are not used any more. We now use function templates from strcoll.ic instead.
-
- 24 Mar, 2016 7 commits
-
-
Oleksandr Byelkin authored
-
Sergei Golubchik authored
-
Oleksandr Byelkin authored
-
Oleksandr Byelkin authored
Fixed calculating pointer to memory allocated for names in numeric format in unpacking procedure.
-
Alexey Botchkov authored
-
Sergei Petrunia authored
-
Sergei Petrunia authored
-
- 23 Mar, 2016 5 commits
-
-
Sergei Petrunia authored
-
Sergei Petrunia authored
-
Igor Babaev authored
-
Igor Babaev authored
Item_func_or_sum. Implemented method update_used_tables for class Item_findow_func. Added the flag Item::with_window_func. Made sure that window functions could be used only in SELECT list and ORDER BY clause. Added test cases that checked different illegal placements of window functions.
-
Sergei Petrunia authored
- Make Item_XXX::cleanup() clean List<Cached_item> orderby_fields. (Items survive across PS re-executions. Cached_item don't, because they keep pointers to fix_field'ed items, etc) - Move List<Cached_item> out into Group_bound_tracker.
-