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

Split Create_field::init() into virtual methods in Type_handler

    XMLWordPrintable

Details

    Description

      The relevant piece of the code in the original type handler patch:

      @@ -9287,6 +9384,13 @@ bool Create_field::init(THD *thd, char *
       
         sign_len= fld_type_modifier & UNSIGNED_FLAG ? 0 : 1;
       
      +  if (const Type_handler *handler= Type_handlers.handler(fld_type))
      +  {
      +    if (handler->init_field(this))
      +      DBUG_RETURN(TRUE);
      +    goto check_flags;
      +  }
      +
       

      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.