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

table map consulted during setup fields on unfixed items

    XMLWordPrintable

Details

    • Bug
    • Status: In Review (View Workflow)
    • Major
    • Resolution: Unresolved
    • 10.11.18
    • 10.11
    • Optimizer
    • None
    • Can result in unexpected behaviour
    • N/A
    • Q3/2026 Server Maintenance, Q3/2026 Server Development

    Description

      For the 2nd execution of a prepared statement, setup_fields can query the table map of items not yet (re)fixed. This is evident in a number of .rdiff files in our test suite.
      We can fix this by relaxing some assert behaviour in the fixing process and calling item->update_used_tables() before the above happens.
      We can then remove the relevant .rdiff files.

      Split from MDEV-35673

      Attachments

        Issue Links

          Activity

            People

              psergei Sergei Petrunia
              Johnston Rex Johnston
              Rex Johnston Rex Johnston
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - 1d Original Estimate - 1d
                  1d
                  Remaining:
                  Time Spent - 1.75d Remaining Estimate - 0.75d
                  0.75d
                  Logged:
                  Time Spent - 1.75d Remaining Estimate - 0.75d
                  1.75d

                  Git Integration

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