- 01 Nov, 2017 18 commits
-
-
Varun Gupta authored
Added the error ER_NOT_SINGLE_ELEMENT_ORDER_LIST for th percentile functions, these ensure that for the percentile function we have the order list with exactly one element
-
Varun Gupta authored
Added the function setting_handler_for_percentile_function() for the percentile_disc function that would set the type of the result field for percentile_disc. Percentile_cont would habe double precision result type
-
Varun Gupta authored
if we get any error during the add function call. This is currently used only for the percentile functions
-
Varun Gupta authored
-ER_NOT_SINGLE_ELEMENT_ORDER_LIST -ER_WRONG_TYPE_FOR_PERCENTILE_CONT -ER_ARGUMENT_NOT_CONSTANT -ER_ARGUMENT_OUT_OF_RANGE
-
Varun Gupta authored
Val_str function added for the percentile_disc function, as it can have result type as STRING_RESULT
-
Varun Gupta authored
Ensured that the the element in the order by clause should have a numerical time, if not throw an error
-
Varun Gupta authored
Percentile class implemented, most of the functions have the same functionalite as the percentile cont class
-
Varun Gupta authored
-
Varun Gupta authored
-
Varun Gupta authored
-
Varun Gupta authored
all the null values while calculating the number of rows in the partition
-
Varun Gupta authored
Setting handler to have the return type as that of the element by which we are ordering the partition
-
Varun Gupta authored
-
Varun Gupta authored
Check for single element in the order_list is added
-
Varun Gupta authored
-
Varun Gupta authored
Finalised the synatax and have started implementing the class for the PERCENTILE_DISC
-
Varun Gupta authored
-
Vladislav Vaintroub authored
#cmakedefine in template file might not create a #define in configured header file.
-
- 31 Oct, 2017 2 commits
-
-
Sergey Vojtovich authored
Status variables added: Table_open_cache_hits, Table_open_cache_misses, Table_open_cache_overflows, Table_open_cache_active_instances.
-
Alexander Barkov authored
This is a 10.3 specific part of MDEV-13049. It disables automatic sorting for "SELECT .. FROM INFORMATION_SCHEMA.{SCHEMATA|TABLES}" and adjusts the affected tests accordingly.
-
- 30 Oct, 2017 9 commits
-
-
Alexander Barkov authored
TODO: enable MDEV-13049 optimization for 10.3
-
Alexander Barkov authored
-
Alexey Botchkov authored
-
Marko Mäkelä authored
-
Alexander Barkov authored
MDEV-13997 Change Item_bool_rowready_func2 to cache const items at fix time rather than evaluation time Side effect: the second debug Note in cache_temporal_4265.result disappeared. Before this change: - During JOIN::cache_const_exprs(), Item::get_cache() for Item_date_add_interval() was called. The data type for date_add('2001-01-01',interval 5 day) is VARCHAR, because the first argument is VARCHAR (not temporal). Item_get_cache() created Item_cache_str('2001-01-06'). - During evaluate_join_record(), get_datetime_value() was called, which called Item::get_date() for Item_cache_str('2001-01-06'). This gave the second Note. Then, get_datetime_value() created a new cache, now Item_cache_temporal for '2001-01-06', so not further str_to_datetime() happened. After this change: - During tem_bool_rowready_func2::fix_length_and_dec(), Arg_comparator::set_cmp_func_datetime() is called, which immediately creates an instance of Item_cache_date for the result of date_add('2001-01-01',interval 5 day). So later no str_to_datetime happens any more, neither during JOIN::cache_const_exprs(), nor during evaluate_join_record().
-
Alexander Barkov authored
-
Alexey Botchkov authored
bind_address variable added.
-
Elena Stepanova authored
-
Elena Stepanova authored
-
- 29 Oct, 2017 6 commits
-
-
Sergei Petrunia authored
Forgot to put the updated rocksdb.result in
-
Sergei Petrunia authored
Downscale rocksdb.add_index_inplace_sstfilewriter to be 10x smaller
-
Sergei Petrunia authored
-
Sergei Petrunia authored
-
Sergei Petrunia authored
Fix a race condition in the testcase.
-
Sergei Petrunia authored
-
- 28 Oct, 2017 1 commit
-
-
Marko Mäkelä authored
-
- 27 Oct, 2017 4 commits
-
-
Vladislav Vaintroub authored
ReadFile/WriteFile operations. Innodb opens files with FILE_FLAG_OVERLAPPED. lpNumberOfBytesRead/Written are documented to be potentially inaccurate in this case, (possibly even if async operations complete synchronously?) The fix is to always pass NULL for the correspondng parameters, as recommended by MSDN. Read the actual counts with GetQueuedCompletionStatus() or GetOverlappedResult().
-
Vladislav Vaintroub authored
-
Alexander Barkov authored
-
Marko Mäkelä authored
os_file_get_size(): Use fstat() instead of calling lseek() 3 times. In this way, concurrent calls to this function should not interfere with each other. Suggested by Vladislav Vaintroub.
-