summaryrefslogtreecommitdiff
path: root/mysql-test/main/type_year.test
Commit message (Collapse)AuthorAgeFilesLines
* Merge 10.3 into 10.4Marko Mäkelä2018-11-061-1/+8
|\
| * Merge 10.2 into 10.3Marko Mäkelä2018-11-061-1/+8
| | | | | | | | | | | | | | | | | | main.derived_cond_pushdown: Move all 10.3 tests to the end, trim trailing white space, and add an "End of 10.3 tests" marker. Add --sorted_result to tests where the ordering is not deterministic. main.win_percentile: Add --sorted_result to tests where the ordering is no longer deterministic.
* | MDEV-17607 DATE(COALESCE(year_column)) returns a wrong resultAlexander Barkov2018-11-041-0/+9
| | | | | | | | | | | | | | | | | | | | C++ does not guarantee the order of parameter evaluation. It was wrong to pass item->val_int() and item->null_value at the same time to any function or constructor. Adding a new helper class Longlong_null, and new methods Item::to_longlong_null() and Item_func_hybrid_field_type::to_longlong_null_op(), which make sure to properly call val_int()/int_op() and test null_value. Reorganizing the rest of the code accordingly.
* | MDEV-17015 Assertion `m_year <= 9999' failed in Year::Year upon bad argument ↵Alexander Barkov2018-08-181-0/+4
| | | | | | | | to MAKEDATE
* | MDEV-16926 CAST(COALESCE(year_field)) returns wrong valueAlexander Barkov2018-08-091-0/+17
| |
* | MDEV-16451 Split Item_equal::add_const() into a virtual method in type_handler()Alexander Barkov2018-06-091-0/+27
|/ | | | MDEV-16452 Split TIME and DATETIME handling in Item_func_between, in_temporal, cmp_item_internal
* Create 'main' test directory and move 't' and 'r' thereMichael Widenius2018-03-291-0/+256