[MDEV-20721] Implement sql_type() for Field_real and Field_int Created: 2019-10-02 Updated: 2019-10-02 Resolved: 2019-10-02 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Data types |
| Fix Version/s: | 10.5.0 |
| Type: | Task | Priority: | Major |
| Reporter: | Alexander Barkov | Assignee: | Alexander Barkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||
| Description |
|
This change was suggested by Serg during the review of Let's implement sql_type() in abstract classes as much as possible. It will reduce the amout of the code:
Note, this task is limited to Field_real and Field_int only. Other classes will be changed the same way later. Let's remove sql_type() implementations from:
The implementation for the abstract classes will look like:
|