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

Sequence DDL is not captured for few queries

    XMLWordPrintable

Details

    • Unexpected results
    • Q4/2026 Server Maintenance

    Description

      For the following scenario, the recorded context doesn't capture the DDL for sequence s1

      CREATE SEQUENCE s1;
      CREATE TABLE t1 (a INT PRIMARY KEY DEFAULT nextval(s1), b INT);
      set optimizer_record_context=1;
      select * from t1 where b < 10;
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            bsrikanth Srikanth Bondalapati
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 2d
                2d
                Remaining:
                Remaining Estimate - 2d
                2d
                Logged:
                Time Spent - Not Specified
                Not Specified

                Git Integration

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