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

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

    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

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

                Dates

                • Created:
                  Updated:
                  Resolved: