Bug #16154 DD: Duplicate LOGFILE GROUP creates results in error unkown by perror
Submitted: 3 Jan 2006 14:52 Modified: 13 Feb 2006 17:42
Reporter: Jonathan Miller Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S3 (Non-critical)
Version:5.1 OS:Linux (Linux)
Assigned to: Nikolay Grishakin CPU Architecture:Any

[3 Jan 2006 14:52] Jonathan Miller
Description:
Test Cases:

CREATE LOGFILE GROUP lg1
ADD UNDOFILE './var/tmp/undofile.dat'
INITIAL_SIZE 16M
UNDO_BUFFER_SIZE = 1M
ENGINE=NDB;

CREATE LOGFILE GROUP lg1
ADD UNDOFILE './var/tmp/undofile.dat'
INITIAL_SIZE 16M
UNDO_BUFFER_SIZE = 1M
ENGINE=NDB;

Test shows error:
 failed: 1502: Failed to create LOGFILE GROUP

perror shows:

./extra/perror --ndb 1502
OS error code 1502:  No message slogan found (please report a bug if you get this error code): Unknown: Unknown

../extra/perror  1502
Illegal error code: 1502

How to repeat:
See above

Suggested fix:
added error so that perror can pick it up.
[3 Jan 2006 14:56] Jonathan Miller
Added:
failed: 1507: Failed to alter: CREATE UNDOFILE

../extra/perror  1507 Illegal error code: 1507
../extra/perror --ndb 1507 OS error code 1507:  No message slogan found (please report a bug if you get this error code): Unknown: Unknown
[10 Jan 2006 9:36] 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/840
[10 Jan 2006 9:37] Jonas Oreland
I made it so that show warnings will show ndberror
[8 Feb 2006 19:43] Jonathan Miller
Nik,

Can you please retest these an give feedback to Jonas?

JBM
[13 Feb 2006 17:42] Nikolay Grishakin
Tested with latest mysql-5.1-new clone. Returns correct error 1506 now.