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

Optimizer_switch split_materialized Returns Wrong Results

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Duplicate
    • 10.5.11, 10.5.12, 10.3(EOL), 10.4(EOL), 10.5, 10.6, 10.7(EOL)
    • N/A
    • Optimizer
    • None
    • Centos7

    Description

      There is a bug with split_materialized.
      When optimizer_switch='split_materialized=on'; the attached query returns very wrong results. After disabling the split_materialized, it returns the correct results.

      This bug starts in 10.5.10, which is the version that includes the fixes from 10.4.19. 10.4.19 includes MDEV-25128 fix which could be a blame option. The bug does not happen in 10.5.9.

      I've attached the .sql to reproduce the bug.

      Attachments

        Issue Links

          Activity

            Transition Time In Source Status Execution Times
            Alice Sherepa made transition -
            Open Confirmed
            115d 17h 43m 1
            Igor Babaev (Inactive) made transition -
            Confirmed In Progress
            5d 8h 1m 1
            JiraAutomate made transition -
            In Progress Stalled
            672d 15h 45m 1
            Alice Sherepa made transition -
            Stalled Closed
            365d 6m 1

            People

              igor Igor Babaev (Inactive)
              ksizemore Kathryn Sizemore
              Votes:
              7 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

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