Details
-
Task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
Description
Move this code:
/**
|
Check whether this parameter data type is compatible with long data.
|
Used to detect whether a long data stream has been supplied to a
|
incompatible data type.
|
*/
|
inline bool is_param_long_data_type(Item_param *param)
|
{
|
return ((param->field_type() >= MYSQL_TYPE_TINY_BLOB) &&
|
(param->field_type() <= MYSQL_TYPE_STRING));
|
}
|
into a new virtual method in Type_handler.
Attachments
Issue Links
- blocks
-
MDEV-4912 Data type plugin API version 1
-
- Closed
-
Activity
Description |
/** Check whether this parameter data type is compatible with long data. Used to detect whether a long data stream has been supplied to a incompatible data type. */ inline bool is_param_long_data_type(Item_param *param) { return ((param->field_type() >= MYSQL_TYPE_TINY_BLOB) && (param->field_type() <= MYSQL_TYPE_STRING)); } |
Move this code: {code} /** Check whether this parameter data type is compatible with long data. Used to detect whether a long data stream has been supplied to a incompatible data type. */ inline bool is_param_long_data_type(Item_param *param) { return ((param->field_type() >= MYSQL_TYPE_TINY_BLOB) && (param->field_type() <= MYSQL_TYPE_STRING)); } {code} into a new virtual method in Type_handler. |
Labels | refactoring |
Fix Version/s | 10.2 [ 14601 ] |
Summary | Add Type_handler::is_long_data | Add Type_handler::is_long_data_type() |
Status | Open [ 1 ] | In Progress [ 3 ] |
Summary | Add Type_handler::is_long_data_type() | Add Type_handler::is_param_long_data_type() |
Component/s | OTHER [ 10125 ] | |
Fix Version/s | 10.3.1 [ 22532 ] | |
Resolution | Fixed [ 1 ] | |
Status | In Progress [ 3 ] | Closed [ 6 ] |
Workflow | MariaDB v3 [ 72840 ] | MariaDB v4 [ 132748 ] |
Pushed to bb-10.2-ext.