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

Change Lex_field_type_st::m_type from enum_field_types to Type_handler pointer

    XMLWordPrintable

Details

    Description

      We'll replace the member in Lex_field_type_st::m_type responsible for storing the real data type from:

        enum_field_types m_type; 
      

      to

        const Type_handler *m_handler;
      

      and do relevant changes in sql_yacc.yy and sql_yacc_ora.yy, e.g. replace things like:

        $$.set(MYSQL_TYPE_FLOAT, $2);
      

      to

        $$.set(&type_handler_float, $2);
      

      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.