Details
-
Task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
Description
The relevant piece of the code in the original type handler patch:
@@ -9565,6 +9670,9 @@ enum_field_types get_blob_type_from_leng
|
|
uint32 calc_pack_length(enum_field_types type,uint32 length)
|
{
|
+ if (const Type_handler *handler= Type_handlers.handler(type))
|
+ return handler->calc_pack_length(length);
|
+
|
switch (type) {
|
case MYSQL_TYPE_VAR_STRING:
|
case MYSQL_TYPE_STRING:
|
 |
Attachments
Issue Links
- blocks
-
MDEV-4912 Data type plugin API version 1
- Closed
- relates to
-
MDEV-12833 Split Column_definition::create_length_to_internal_length() to virtual methods in Type_handler
- Closed