[MDEV-16451] Split Item_equal::add_const() into a virtual method in type_handler() Created: 2018-06-09 Updated: 2018-06-09 Resolved: 2018-06-09 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Data types |
| Fix Version/s: | 10.4.0 |
| Type: | Task | Priority: | Major |
| Reporter: | Alexander Barkov | Assignee: | Alexander Barkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
The method Item_equal::add_const() has this code:
This is not friendly for user data type plugins, because user data types will need their own value comparison implementation, different from the ones for the built-in data types. This task is to split this swith into a new virtual method in Type_handler with approximately this API:
|