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

optimizer_context returned no rows

    XMLWordPrintable

Details

    • Q3/2026 Server Maintenance

    Description

      Issue:

      -------------
      Optimizer context is empty when select query doesn't refer any tables
      So replay fails with below:
      ReplayTest: optimizer_context returned no rows

      For mtr output : refer mtr2.out

      MTR testcase to repro issue: (Say example.test)

      explain select 1;
      

      How to repro:

      ./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:

                Git Integration

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