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

Server crashes during join on group-by subquery

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Duplicate
    • Affects Version/s: 5.5.35
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      Windows 7 64-bit

      Description

      With ONLY_FULL_GROUP_BY in sql mode, the following query will cause the server to crash. Nothing is written to error log.

      table definitions:
      create table test1 (a int unsigned not null);
      create table test2 (b int unsigned not null);

      server crash:
      select * from test1 inner join (
      select * from test2 group by b) as test2alias
      on (test1.a = test2alias.b);

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              cconverse Cary Converse
              Votes:
              0 Vote for this issue
              Watchers:
              3 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.