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

LP:993745 - Crash when using min/max loose scan

    XMLWordPrintable

Details

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

    Description

      The following sequence of commands causes a crash in mariadb-5.2:

      CREATE TABLE t1(a BLOB, b VARCHAR(255) CHARSET LATIN1, c INT, KEY(b, c, a(765))) ENGINE=INNODB;
      INSERT INTO t1(a, b, c) VALUES ('', 'a', 0), ('', 'a', null), ('', 'a', 0);
      SELECT MIN(c) FROM t1 GROUP BY b;

      (see also bug #13723054 for mysql code line)

      Attachments

        Activity

          People

            timour Timour Katchaounov (Inactive)
            igor Igor Babaev
            Votes:
            0 Vote for this issue
            Watchers:
            0 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.