[MDEV-20052] Add a MEM_ROOT pointer argument to Type_handler::make_xxx_field() Created: 2019-07-12 Updated: 2019-07-12 Resolved: 2019-07-12 |
|
| 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 |
|
The structure of THD is not available inside plugins. So a plugin cannot do:
Let's add a MEM_ROOT pointer parameter to these Type_handler methods:
Plugins will create fields as follows:
Note, we eventually should probably change the TABLE parameter to to make_xxx_field() to a subset of TABLE which is only necessary inside a plugin. |