[MDEV-2916] LP:993745 - Crash when using min/max loose scan Created: 2012-05-03  Updated: 2015-02-02  Resolved: 2012-10-04

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Critical
Reporter: Igor Babaev Assignee: Timour Katchaounov (Inactive)
Resolution: Fixed Votes: 0
Labels: Launchpad

Attachments: XML File LPexportBug993745.xml    

 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)



 Comments   
Comment by Rasmus Johansson (Inactive) [ 2012-05-03 ]

Launchpad bug id: 993745

Generated at Thu Feb 08 06:45:04 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.