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

Crash by subselect with unused columns

Details

    Description

      The server crashes after select with unused columns in a subselect with the following pattern:
      SELECT DISTINCT col1 FROM (SELECT col1, col2 FROM foo)
      The problem is col2.
      In version 10.10.3 and 10.11.2 the same query does not cause errors.

      Attachments

        Issue Links

          Activity

            alice Alice Sherepa added a comment -

            Thanks!
            This is the same problem as MDEV-31240. Setting optimizer_switch="split_materialized=off" could be used as a workaround until the fix is released.

            alice Alice Sherepa added a comment - Thanks! This is the same problem as MDEV-31240 . Setting optimizer_switch="split_materialized=off" could be used as a workaround until the fix is released.

            People

              Unassigned Unassigned
              netbreaker72 Rico Koerner
              Votes:
              0 Vote for this issue
              Watchers:
              2 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.