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

Add Type_handler::is_param_long_data_type()

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

            bar Alexander Barkov created issue -
            bar Alexander Barkov made changes -
            Field Original Value New Value
            bar Alexander Barkov made changes -
            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.
            bar Alexander Barkov made changes -
            Labels refactoring
            serg Sergei Golubchik made changes -
            Fix Version/s 10.2 [ 14601 ]
            bar Alexander Barkov made changes -
            Summary Add Type_handler::is_long_data Add Type_handler::is_long_data_type()
            bar Alexander Barkov made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            bar Alexander Barkov made changes -
            Summary Add Type_handler::is_long_data_type() Add Type_handler::is_param_long_data_type()

            Pushed to bb-10.2-ext.

            bar Alexander Barkov added a comment - Pushed to bb-10.2-ext.
            bar Alexander Barkov made changes -
            Component/s OTHER [ 10125 ]
            Fix Version/s 10.3.1 [ 22532 ]
            Resolution Fixed [ 1 ]
            Status In Progress [ 3 ] Closed [ 6 ]
            serg Sergei Golubchik made changes -
            Workflow MariaDB v3 [ 72840 ] MariaDB v4 [ 132748 ]

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.