From e4ecc367ebcd8b7f4ad2c5c566645d1e6a2bf87f Mon Sep 17 00:00:00 2001 From: "jmiller@mysql.com" <> Date: Thu, 12 Jan 2006 14:31:42 +0100 Subject: [PATCH] ndb_dd_ddl.test: Added requested changes to test. --- mysql-test/t/ndb_dd_ddl.test | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/mysql-test/t/ndb_dd_ddl.test b/mysql-test/t/ndb_dd_ddl.test index af17eb3aeb4..f7f5bcea8d3 100644 --- a/mysql-test/t/ndb_dd_ddl.test +++ b/mysql-test/t/ndb_dd_ddl.test @@ -21,7 +21,7 @@ INITIAL_SIZE 16M UNDO_BUFFER_SIZE = 1M ENGINE=NDB; ---error 1502 +--error ER_CREATE_TABLESPACE_FAILED CREATE LOGFILE GROUP lg1 ADD UNDOFILE 'undofile.dat' INITIAL_SIZE 16M @@ -32,7 +32,7 @@ ALTER LOGFILE GROUP lg1 ADD UNDOFILE 'undofile02.dat' INITIAL_SIZE 4M ENGINE NDB; ---error 1507 +--error ER_ALTER_TABLESPACE_FAILED ALTER LOGFILE GROUP lg1 ADD UNDOFILE 'undofile02.dat' INITIAL_SIZE 4M ENGINE=NDB; @@ -43,20 +43,20 @@ USE LOGFILE GROUP lg1 INITIAL_SIZE 12M ENGINE NDB; ---error 1502 # Bug 16158 +--error ER_CREATE_TABLESPACE_FAILED CREATE TABLESPACE ts1 ADD DATAFILE 'datafile.dat' USE LOGFILE GROUP lg1 INITIAL_SIZE 12M ENGINE NDB; -# Currently a bug, bug#16158 + ALTER TABLESPACE ts1 ADD DATAFILE 'datafile2.dat' INITIAL_SIZE 12M ENGINE=NDB; ---error 1507 # Currently a bug, bug#16158 +--error ER_ALTER_TABLESPACE_FAILED ALTER TABLESPACE ts1 ADD DATAFILE 'datafile2.dat' INITIAL_SIZE 12M @@ -67,7 +67,7 @@ CREATE TABLE t1 tablespace ts1 storage disk engine ndb; ---error 1050 +--error ER_TABLE_EXISTS_ERROR CREATE TABLE t1 (pk1 int not null primary key, b int not null, c int not null) tablespace ts1 storage disk @@ -79,7 +79,7 @@ ALTER TABLESPACE ts1 DROP DATAFILE 'datafile2.dat' ENGINE=NDB; ---error 1507 +--error ER_ALTER_TABLESPACE_FAILED ALTER TABLESPACE ts1 DROP DATAFILE 'datafile2.dat' ENGINE=NDB; @@ -88,7 +88,7 @@ ALTER TABLESPACE ts1 DROP DATAFILE 'datafile.dat' ENGINE=NDB; ---error 1507 +--error ER_ALTER_TABLESPACE_FAILED ALTER TABLESPACE ts1 DROP DATAFILE 'datafile.dat' ENGINE=NDB; @@ -96,14 +96,14 @@ ENGINE=NDB; DROP TABLESPACE ts1 ENGINE=NDB; ---error 1503 +--error ER_DROP_TABLESPACE_FAILED DROP TABLESPACE ts1 ENGINE=NDB; DROP LOGFILE GROUP lg1 ENGINE=NDB; ---error 1503 +--error ER_DROP_TABLESPACE_FAILED DROP LOGFILE GROUP lg1 ENGINE=NDB; --echo **** End Duplicate Statement Testing ****