[MDEV-12713] Define virtual type_handler() for all Item classes Created: 2017-05-06 Updated: 2017-05-06 Resolved: 2017-05-06 |
|
| 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 |
|
As of version 10.3.0, Item::type_handler is defined as:
That is type handler is determined from field_type() by default. We'll change the definition of the method to:
and implement it for all classes Item_xxx. |