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

Add method Type_handler::dyncol_type

Details

    Description

      The code in Item_func_dyncol_create::prepare_arguments() is not friendly to data type plugins.

      Let's add a new method in Type_handler:

      virtual enum_dynamic_column_type
        dyncol_type(const Type_all_attributes *attr) const= 0;
      

      and split the two switch'es into virtual implementations of the new method.

      Attachments

        Issue Links

          Activity

            bar Alexander Barkov created issue -
            bar Alexander Barkov made changes -
            Field Original Value New Value
            bar Alexander Barkov made changes -
            Rank Ranked higher
            bar Alexander Barkov made changes -
            issue.field.resolutiondate 2019-06-04 08:44:50.0 2019-06-04 08:44:50.154
            bar Alexander Barkov made changes -
            Fix Version/s 10.5.0 [ 23709 ]
            Fix Version/s 10.5 [ 23123 ]
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Closed [ 6 ]
            serg Sergei Golubchik made changes -
            Workflow MariaDB v3 [ 97312 ] MariaDB v4 [ 133982 ]

            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.