[MDEV-11503] Introduce Type_handler::make_in_vector() and Item_func_in_fix_comparator_compatible_types() Created: 2016-12-08 Updated: 2017-04-07 Resolved: 2016-12-10 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | OTHER |
| Fix Version/s: | 10.3.0 |
| Type: | Task | Priority: | Major |
| Reporter: | Alexander Barkov | Assignee: | Alexander Barkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | datatype | ||
| Issue Links: |
|
||||||||
| Description |
|
This task will: 1. Introduce new Type_handler methods:
2. Remove these data type conditions in Item_func_in::fix_length_and_dec()
and use the new Type_handler methods instead. 3. Split in_datetime (which now covers all temporal data types: DATETIME, DATE, TIME) into an abstract parent class in_temporal and two instantiable classes in_datetime (for DATETIME and DATE) and in_time (for TIME). After this change the behavior of the code responsible for IN bisection search will be fully handled by Type_handler. There will some explicit XXX_RESULT conditions be left though, in the code responsible for the cmp_items based IN search. This code will be cleaned-up in a separate patch. |