[MDEV-16861] Split Item::update_null_value() into a new virtual method in Type_handler Created: 2018-07-31 Updated: 2018-07-31 Resolved: 2018-07-31 |
|
| 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 code in Item::update_null_value() has a switch on cmp_type(). This is not friendly for user defined data types. We'll introduce a new method in Type_handler:
and split this code into virtual implementations. |