Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-9235

Add Type_handler::is_param_long_data_type()

    XMLWordPrintable

    Details

      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

            Activity

              People

              Assignee:
              bar Alexander Barkov
              Reporter:
              bar Alexander Barkov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: