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

Add method Type_handler::dyncol_type

    XMLWordPrintable

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

            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.