[MDEV-11365] Split the data type and attribute related code in Item_sum_hybrid::fix_fields into Type_handler::Item_sum_hybrid_fix_length_and_dec() Created: 2016-11-28 Updated: 2017-04-09 Resolved: 2016-12-01 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | OTHER |
| Affects Version/s: | 10.3 |
| Fix Version/s: | 10.3.0 |
| Type: | Bug | Priority: | Major |
| Reporter: | Alexander Barkov | Assignee: | Alexander Barkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | datatype | ||
| Issue Links: |
|
||||||||
| Description |
|
Item_sum_hybrid::fix_fields has a code to fix the data type and its attributes:
This task will introduce a new virtual method in Type_handler:
and move pieces of the above fragment to relevant implementations of Type_handler_xxx. The above fragment in Item_sum_hybrid::fix_fields() will be replaced to a call of the new method:
|