[MDEV-12716] Change Value_source::Context to operate Type_handler rather than Item_result Created: 2017-05-06 Updated: 2017-05-06 Resolved: 2017-05-06 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Optimizer |
| Fix Version/s: | 10.3.1 |
| Type: | Task | Priority: | Major |
| Reporter: | Alexander Barkov | Assignee: | Alexander Barkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | datatype, refactoring | ||
| Issue Links: |
|
||||||||||||||||
| Description |
|
As of versions 10.2 and 10.3.0, the class Value_source::Context (used for equal expression propagation) uses Item m_compare_type to store comparison type of the operation. This is not friendly to pluggable data types. To make pluggable data types use equal expression propagation, we'll remove m_compare_type and add const Type_handler *m_compara_handler instead. |