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

LP:944706 - Query with impossible or constant subquery in WHERE or HAVING is not precomputed and thus not part of optimization

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • None
    • 5.5.25
    • None
    • None

    Description

      https://bugs.launchpad.net/maria/+bug/944706

      This is not a new bug, but it has been recently switched from milestone 5.3 to 5.5, so it needs an entry in JIRA.
      Fix version 5.5.23 is temporary.

      Attachments

        Issue Links

          Activity

            Fixed all crashes resulting from enabling back subquery execution during query optimization.
            The result of the fixes is that now I need to find a new solution for bug https://bugs.launchpad.net/maria/+bug/944504, because its current fix is to forbid subquery evaluation during optimization.

            After fixing this remaining crash (bug lp:944504), there are several wrong results to be fixed.
            After that, the patch needs improvement in how we detect if a subquery is expensive, and to refine two of the fixes for EXPLAIN-specific crashes.

            timour Timour Katchaounov (Inactive) added a comment - Fixed all crashes resulting from enabling back subquery execution during query optimization. The result of the fixes is that now I need to find a new solution for bug https://bugs.launchpad.net/maria/+bug/944504 , because its current fix is to forbid subquery evaluation during optimization. After fixing this remaining crash (bug lp:944504), there are several wrong results to be fixed. After that, the patch needs improvement in how we detect if a subquery is expensive, and to refine two of the fixes for EXPLAIN-specific crashes.
            • Analyzed EXPLAIN differences due to merge
            • Finished mere, pushed into 5.5.25.
            timour Timour Katchaounov (Inactive) added a comment - Analyzed EXPLAIN differences due to merge Finished mere, pushed into 5.5.25.

            People

              timour Timour Katchaounov (Inactive)
              elenst Elena Stepanova
              Votes:
              0 Vote for this issue
              Watchers:
              1 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.