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

DROP followed by CREATE table failed during replay of context

    XMLWordPrintable

Details

    • Unexpected results
    • Q3/2026 Server Maintenance

    Description

      h6.MTR testcase to repro issue: (Say example.test)
      {code:sql}
      CREATE TABLE v1 (a int);
      EXPLAIN EXTENDED SELECT * from v1;
      DROP TABLE v1;
       
      CREATE TABLE t1 (a int);
      CREATE VIEW v1 AS SELECT * FROM t1;
       
      EXPLAIN EXTENDED SELECT * from v1;
       
      DROP VIEW v1;
      DROP TABLE t1;
      

      How to repro

      ./mtr example.test  --record
      ./mtr example.test  --replay-server
      

      Attachments

        Issue Links

          Activity

            People

              bsrikanth Srikanth Bondalapati
              mariadb-pavithrapandith Pavithra Pandith
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 1d
                  1d
                  Remaining:
                  Remaining Estimate - 0d
                  0d
                  Logged:
                  Time Spent - 0.5d Time Not Required
                  0.5d

                  Git Integration

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