Bug #31848 | Test failure: Cluster has problems on insert with auto-increment | ||
---|---|---|---|
Submitted: | 25 Oct 2007 13:20 | Modified: | 5 Nov 2007 23:08 |
Reporter: | Joerg Bruehe | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Cluster: Cluster (NDB) storage engine | Severity: | S3 (Non-critical) |
Version: | 5.0.44 (NDB) + x | OS: | Any (gcc 4.2.1, x86 (32)) |
Assigned to: | Kristian Nielsen | CPU Architecture: | Any |
[25 Oct 2007 13:20]
Joerg Bruehe
[25 Oct 2007 15:41]
Joerg Bruehe
I repeated this using "-O2" (same sources), and the bugs were gone.
[31 Oct 2007 9:27]
Kristian Nielsen
I managed to repeat this on 32-bit Ubuntu feisty x86, by compiling gcc 4.2.1.
[1 Nov 2007 7:00]
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/36820 ChangeSet@1.2490, 2007-11-01 07:59:55+01:00, knielsen@ymer.(none) +1 -0 Bug #31848: Test failure: Cluster has problems on insert with auto-increment Fix uninitialized variable causing failures for some interpreted update operations on gcc 4.2.1.
[1 Nov 2007 7:25]
Kristian Nielsen
This was introduced with the fix for BUG#27437. So the bug would have first appeared in 5.0.42. It only applies to 5.0, the 5.1+ code does not have the problem. Symptoms would be randomly failing interpreted update operations (this includes auto increments, which use interpreted updates internally).
[1 Nov 2007 7:35]
Kristian Nielsen
Pushed to mysql-5.0-ndb (and null-merged to mysql-5.1-new-ndb).
[5 Nov 2007 13:53]
Bugs System
Pushed into 6.0.4-alpha
[5 Nov 2007 13:56]
Bugs System
Pushed into 5.1.23-rc
[5 Nov 2007 13:58]
Bugs System
Pushed into 5.0.52
[5 Nov 2007 23:08]
Jon Stephens
Thank you for your bug report. This issue has been committed to our source repository of that product and will be incorporated into the next release. If necessary, you can access the source repository and build the latest available version, including the bug fix. More information about accessing the source trees is available at http://dev.mysql.com/doc/en/installing-source.html Documented in 5.0.52 changelog (5.0.52 only - per developer note above). Closed.
[8 Nov 2007 13:34]
Jon Stephens
Fix also documented in 5.1.22-ndb-6.28 and 5.1.22-ndb-6.3.6 changelogs (per release notes from Tomas).
[8 Nov 2007 14:03]
Jon Stephens
Removed 5.1.22-ndb-6.2.8 and 5.1.22-ndb-6.3.6 changelog entries after KNielsen & Tomas confirmed null merge to 5.1/CGE trees.