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

frm is reported corrupted after ER_EXPRESSION_REFERS_TO_UNINIT_FIELD

    XMLWordPrintable

Details

    Description

      CREATE TABLE t1 (a INT,b INT AS (b is NULL) VIRTUAL);
      

      Leads to:

      10.7.0 71ed8c136fa203b9b3a678a6d5cc72235ef73ef7 (Debug)

      10.7.0-dbg>CREATE TABLE t1 (a INT,b INT AS (b is NULL) VIRTUAL);
      ERROR 4029 (01000): Expression for field `b` is referring to uninitialized field `b`
      

      Yet;

      10.7.0 71ed8c136fa203b9b3a678a6d5cc72235ef73ef7 (Debug)

      2021-07-28 20:18:44 4 [ERROR] mysqld: Incorrect information in file: './test/t1.frm'
      

      May only be a cosmetic issue (i.e. the error in the error log should not be shown as the table is never created successfully).

      If no underlying bug, propose to not show (i.e. prevent) any error in error log (so as to not confuse DBA's).

      Attachments

        Issue Links

          Activity

            People

              nikitamalyavin Nikita Malyavin
              Roel Roel Van de Paar
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 0d
                  0d
                  Remaining:
                  Remaining Estimate - 0d
                  0d
                  Logged:
                  Time Spent - 2d 55m
                  2d 55m

                  Git Integration

                    Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.