[MDEV-16806] Add Type_handler::create_literal_item() Created: 2018-07-24 Updated: 2018-07-24 Resolved: 2018-07-24 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Data types, Parser |
| Fix Version/s: | 10.4.0 |
| Type: | Task | Priority: | Major |
| Reporter: | Alexander Barkov | Assignee: | Alexander Barkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||
| Description |
|
The code for creation of temporal literals, such as:
currently resides in: and has various switches on MYSQL_TYPE_XXX This is not friendly to data type plugins. New data types will support their own literals:
Under terms of this task we'll move the code to Type_handler by adding the following methods:
This task is only about moving the code to class Type_handler. Limitations:
The following changes will be done separately, later:
|