Bug #26490 duplicate cluster error code
Submitted: 20 Feb 2007 6:55 Modified: 26 Feb 2007 2:44
Reporter: Hartmut Holzgraefe Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S3 (Non-critical)
Version:5.1.12 and up OS:Any (*)
Assigned to: Tomas Ulin CPU Architecture:Any

[20 Feb 2007 6:55] Hartmut Holzgraefe
Description:
hartmut in ~/projects/mysql/dev/5.1/storage/ndb on linux
ndb > sourcefind 763
./include/kernel/signaldata/AlterTable.hpp:    IncompatibleVersions = 763
./include/kernel/signaldata/CreateFilegroup.hpp:    InvalidUndoBufferSize = 763,
./src/ndbapi/ndberror.c:  { 763,  DMEC, AE, "Alter table requires cluster nodes to have exact same version" },
./src/ndbapi/ndberror.c:  { 763,  HA_WRONG_CREATE_OPTION, SE, "Invalid undo buffer size" },

How to repeat:
$ cd mysql-5.1/storage/ndb 
$ sourcefind 763

./include/kernel/signaldata/AlterTable.hpp:    IncompatibleVersions = 763
./include/kernel/signaldata/CreateFilegroup.hpp:    InvalidUndoBufferSize = 763,
./src/ndbapi/ndberror.c:  { 763,  DMEC, AE, "Alter table requires cluster nodes to have exact same version" },
./src/ndbapi/ndberror.c:  { 763,  HA_WRONG_CREATE_OPTION, SE, "Invalid undo buffer size" },

Suggested fix:
resolve the duplicate code
[21 Feb 2007 15:14] Tomas Ulin
5.1.16
[21 Feb 2007 16:13] 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/20283
[26 Feb 2007 2:44] 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 bugfix in 5.1.16 changelog.
[27 Feb 2007 5:19] Jon Stephens
Documented fix in telco-6.1.3 changelog.
[27 Feb 2007 6:21] Jon Stephens
Documented fix in telco-6.1.3 changelog.