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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      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)

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            ratzpo Rasmus Johansson added a comment -

            Launchpad bug id: 993745

            Show
            ratzpo Rasmus Johansson added a comment - Launchpad bug id: 993745

              People

              • Assignee:
                timour Timour Katchaounov
                Reporter:
                igor Igor Babaev
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: