[MDEV-12687] Split Item::send() into virtual method in Type_handler Created: 2017-05-04 Updated: 2017-05-04 Resolved: 2017-05-04 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | OTHER |
| 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 |
|
Item::send has a switch on field_type():
This is not friendly to pluggable data types. We'll introduce a new in Type_handler instead:
The default implementation of Item::send will look like:
|