| Bug #34107 | Large query ends in wrong results or even segmentation faults | ||
|---|---|---|---|
| Submitted: | 28 Jan 16:20 | Modified: | 2 Mar 10:15 |
| Reporter: | Michael Neubert | ||
| Status: | Closed | ||
| Category: | Server: Cluster | Severity: | S1 (Critical) |
| Version: | 5.1.22 | OS: | Linux (Debian) |
| Assigned to: | Pekka Nousiainen | Target Version: | 5.1+ |
| Tags: | large query, NDB Cluster, segmentation fault | ||
| Triage: | D2 (Serious) / R2 (Low) / E2 (Low) | ||
[28 Jan 16:20]
Michael Neubert
[28 Jan 16:21]
Michael Neubert
large query testcase
Attachment: large_query.rar (application/octet-stream, text), 16.75 KiB.
[29 Jan 17: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 23: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 23:17]
Pekka Nousiainen
that should be bug#29390
[30 Jan 17: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 13: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 13: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 23: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
[1 Feb 0: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 15: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 17:07]
Jon Stephens
Also documented for 5.1.23-ndb-6.2.12.
[20 Feb 17:02]
Bugs System
Pushed into 5.0.58
[20 Feb 17:03]
Bugs System
Pushed into 6.0.5-alpha
[20 Feb 17:03]
Bugs System
Pushed into 5.1.24-rc
[2 Mar 10:15]
Jon Stephens
Also documented for 5.0.58, 5.1.24, 6.0.5. Closed.
