Bug #30559 Some NDB space management commands do not fail as expected
Submitted: 22 Aug 2007 11:21 Modified: 23 Aug 2007 13:35
Reporter: Joerg Bruehe Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S3 (Non-critical)
Version:5.1.21 OS:Any
Assigned to: Jonathan Miller CPU Architecture:Any

[22 Aug 2007 11:21] Joerg Bruehe
Description:
Found during the build of 5.1.21-beta:

=====
ndb.ndb_dd_ddl                 [ fail ]

Errors are (from /PATH/mysqltest-time) :
mysqltest: At line NNN: query 'create logfile group lg1 add undofile '$MYSQLTEST_VARDIR/master-data/test/t1.frm' initial_si
ze 1M undo_buffer_size = 1M engine=ndb;' succeeded - should have failed with errno 1525...
=====
OS X on x86

=====
ndb.ndb_dd_ddl                 [ fail ]

Errors are (from /PATH/mysqltest-time) :
mysqltest: At line NNN: query 'create tablespace ts1 add datafile '$MYSQLTEST_VARDIR/master-data/test/t1.frm' use logfile g
roup lg1 initial_size 1M engine ndb;' succeeded - should have failed with errno 1525...
=====
Solaris 8 + 9 on x86, test mode ps+rowrepl+NDB

=====
ndb.ndb_dd_ddl                 [ fail ]

Errors are (from /PATH/mysqltest-time) :
mysqltest: At line NNN: query 'create logfile group lg1 add undofile '$MYSQLTEST_VARDIR/master-data/test/t1.frm' initial_si
ze 1M undo_buffer_size = 1M engine=ndb;' succeeded - should have failed with errno 1525...
=====
RHAS 3 on x86, RPM build;
Solaris 9 on x86, test mode NDB

How to repeat:
Occurred when running the test suite.
[22 Aug 2007 14:00] Jonathan Miller
http://lists.mysql.com/commits/32875
[23 Aug 2007 5:06] Jonas Oreland
i dont understand why it's needed...(extra credits for finding out why...)
but patch as such is ok to push
[23 Aug 2007 13:35] Jonathan Miller
pushed into:

bk-internal.mysql.com:/home/bk/mysql-5.1-target-5.1.22