Bug #26490 duplicate cluster error code
Submitted: 20 Feb 2007 7:55 Modified: 26 Feb 2007 3:44
Reporter: Hartmut Holzgraefe
Status: Closed
Category:Server: Cluster Severity:S3 (Non-critical)
Version:5.1.12 and up OS:Any (*)
Assigned to: Tomas Ulin Target Version:

[20 Feb 2007 7: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 16:14] Tomas Ulin
5.1.16
[21 Feb 2007 17: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 3: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 6:19] Jon Stephens
Documented fix in telco-6.1.3 changelog.
[27 Feb 2007 7:21] Jon Stephens
Documented fix in telco-6.1.3 changelog.