[MDEV-9235] Add Type_handler::is_param_long_data_type() Created: 2015-12-03  Updated: 2017-04-22  Resolved: 2017-04-22

Status: Closed
Project: MariaDB Server
Component/s: OTHER
Fix Version/s: 10.3.1

Type: Task Priority: Major
Reporter: Alexander Barkov Assignee: Alexander Barkov
Resolution: Fixed Votes: 0
Labels: refactoring

Issue Links:
Blocks
blocks MDEV-4912 Data type plugin API version 1 Closed

 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.



 Comments   
Comment by Alexander Barkov [ 2017-04-22 ]

Pushed to bb-10.2-ext.

Generated at Thu Feb 08 07:33:09 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.