[MDEV-12588] Add Type_handler::type_handler_for_tmp_table() and Type_handler::type_handler_for_union() Created: 2017-04-25 Updated: 2017-05-02 Resolved: 2017-04-27 |
|
| 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 | ||
| Issue Links: |
|
||||||||||||||||
| Description |
|
The code in the following methods:
is not friendly to new data types, because it has conditions on field_type. To make the code more friendly, we'll add two new virtual methods in Type_handler:
This will simplify the code a lot:
|
| Comments |
| Comment by Oleksandr Byelkin [ 2017-04-27 ] |
|
OK to push. |
| Comment by Alexander Barkov [ 2017-04-27 ] |
|
Pushed to bb-10.2-ext |