[MDEV-2504] LP:792338 - Bogus result with SQL_BIG_RESULT Created: 2011-06-03  Updated: 2012-10-04  Resolved: 2012-10-04

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

Type: Bug
Reporter: Philip Stoev (Inactive) Assignee: Unassigned
Resolution: Not a Bug Votes: 0
Labels: Launchpad

Attachments: XML File LPexportBug792338.xml    

 Description   

The following query returns a totally bogus result – the rows returned can not be found in the original table.

CREATE TABLE t1 ( f1 int NOT NULL , PRIMARY KEY (f1)) ;
INSERT IGNORE INTO t1 VALUES (10),(11),(12),(13),(14),(15),(16),(17),(18),(19),(20);
SELECT SQL_BIG_RESULT f1 AS field1 , f1 AS field2
FROM t1
GROUP BY field1 , field2 ;

correct result:

SELECT f1 AS field1 , f1 AS field2
FROM t1
GROUP BY field1 , field2 ;



 Comments   
Comment by Rasmus Johansson (Inactive) [ 2011-06-03 ]

Launchpad bug id: 792338

Comment by Philip Stoev (Inactive) [ 2011-06-03 ]

Re: Bogus result with SQL_BIG_RESULT
Sorry this is for bugs.mysql.com, the bug is also reproducible with mysql 55

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