Details
-
Task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
None
Description
The structure of THD is not available inside plugins. So a plugin cannot do:
new (table->in_use->mem_root) Field_xxx(...)
|
Let's add a MEM_ROOT pointer parameter to these Type_handler methods:
- make_conversion_table_field
- make_table_field
- make_and_init_table_field
- make_schema_field
Plugins will create fields as follows:
new (mem_rroot_arg) Field_xxx(...)
|
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.
Attachments
Issue Links
- blocks
-
MDEV-4912 Data type plugin API version 1
-
- Closed
-
-
MDEV-20016 Add MariaDB_DATA_TYPE_PLUGIN
-
- Closed
-
Activity
Rank | Ranked higher |
issue.field.resolutiondate | 2019-07-12 03:09:49.0 | 2019-07-12 03:09:49.194 |
Component/s | Data types [ 13906 ] | |
Fix Version/s | 10.5.0 [ 23709 ] | |
Fix Version/s | 10.5 [ 23123 ] | |
Resolution | Fixed [ 1 ] | |
Status | Open [ 1 ] | Closed [ 6 ] |
Link |
This issue blocks |
Workflow | MariaDB v3 [ 98196 ] | MariaDB v4 [ 134044 ] |