Bug #34107 | Large query ends in wrong results or even segmentation faults | ||
---|---|---|---|
Submitted: | 28 Jan 2008 15:20 | Modified: | 2 Mar 2008 9:15 |
Reporter: | Michael Neubert | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Cluster: Cluster (NDB) storage engine | Severity: | S1 (Critical) |
Version: | 5.1.22 | OS: | Linux (Debian) |
Assigned to: | Pekka Nousiainen | CPU Architecture: | Any |
Tags: | large query, NDB Cluster, segmentation fault |
[28 Jan 2008 15:20]
Michael Neubert
[28 Jan 2008 15:21]
Michael Neubert
large query testcase
Attachment: large_query.rar (application/octet-stream, text), 16.75 KiB.
[29 Jan 2008 16:19]
Pekka Nousiainen
-verified in latest 5.1 linux 32-bit (query=>no result) -not seen in 5.0 -filter in the example is 28217 words (below max 50000) so filter is sent to kernel
[29 Jan 2008 22:14]
Pekka Nousiainen
Correction, also happens in 5.0 if table has more rows. Optimizer difference. The bug is in some buffer sizes and missing error message. In any case there will be a limit and if mysqld encounters it, the pushdown is skipped silently. See bug#35527
[29 Jan 2008 22:17]
Pekka Nousiainen
that should be bug#29390
[30 Jan 2008 16:11]
Michael Neubert
Hello, yes, the problem seems to be the same as mentionned in Bug#29390. According to the bugreport the problem should be fixed in 5.1.23-rc. I just testet 5.1.24 from source development tree with the same negative result. The bug seems still to exist (wrong result set and no warning). Best wishes Michael
[31 Jan 2008 12:56]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/41496 ChangeSet@1.2590, 2008-01-31 13:56:12+01:00, pekka@sama.ndb.mysql.com +4 -0 ndb - bug#34107 patch 1, kernel
[31 Jan 2008 12:58]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/41497 ChangeSet@1.2591, 2008-01-31 13:58:29+01:00, pekka@sama.ndb.mysql.com +3 -0 ndb - bug#34107 patch 2, ndb api
[31 Jan 2008 22:15]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/41530 ChangeSet@1.2593, 2008-01-31 23:15:07+01:00, pekka@sama.ndb.mysql.com +2 -0 ndb - bug#34107 - ndb api test case
[31 Jan 2008 23:07]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/41533 ChangeSet@1.2671, 2008-02-01 00:07:15+01:00, pekka@sama.ndb.mysql.com +2 -0 ndb - bug#34107 - post-merge
[12 Feb 2008 14:36]
Jon Stephens
Documented bugfix in 5.1.23-ndb-6.3.9 as follows: Extremely long queries (where the text of the query was in excess of 50000 characters) on NDB tables returned empty results. Left PQ status pending further merges.
[12 Feb 2008 16:07]
Jon Stephens
Also documented for 5.1.23-ndb-6.2.12.
[20 Feb 2008 16:02]
Bugs System
Pushed into 5.0.58
[20 Feb 2008 16:03]
Bugs System
Pushed into 6.0.5-alpha
[20 Feb 2008 16:03]
Bugs System
Pushed into 5.1.24-rc
[2 Mar 2008 9:15]
Jon Stephens
Also documented for 5.0.58, 5.1.24, 6.0.5. Closed.