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

Crash by subselect with unused columns

    XMLWordPrintable

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

        1. error.log-10.10
          27 kB
          Rico Koerner
        2. error.log-10.11
          30 kB
          Rico Koerner

        Issue Links

          Activity

            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.