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

    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

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

                Dates

                • Created:
                  Updated:
                  Resolved: