mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
ndb_dd_ddl.test:
Added requested changes to test. mysql-test/t/ndb_dd_ddl.test: Added requested changes to test.
This commit is contained in:
@ -21,7 +21,7 @@ INITIAL_SIZE 16M
|
|||||||
UNDO_BUFFER_SIZE = 1M
|
UNDO_BUFFER_SIZE = 1M
|
||||||
ENGINE=NDB;
|
ENGINE=NDB;
|
||||||
|
|
||||||
--error 1502
|
--error ER_CREATE_TABLESPACE_FAILED
|
||||||
CREATE LOGFILE GROUP lg1
|
CREATE LOGFILE GROUP lg1
|
||||||
ADD UNDOFILE 'undofile.dat'
|
ADD UNDOFILE 'undofile.dat'
|
||||||
INITIAL_SIZE 16M
|
INITIAL_SIZE 16M
|
||||||
@ -32,7 +32,7 @@ ALTER LOGFILE GROUP lg1
|
|||||||
ADD UNDOFILE 'undofile02.dat'
|
ADD UNDOFILE 'undofile02.dat'
|
||||||
INITIAL_SIZE 4M ENGINE NDB;
|
INITIAL_SIZE 4M ENGINE NDB;
|
||||||
|
|
||||||
--error 1507
|
--error ER_ALTER_TABLESPACE_FAILED
|
||||||
ALTER LOGFILE GROUP lg1
|
ALTER LOGFILE GROUP lg1
|
||||||
ADD UNDOFILE 'undofile02.dat'
|
ADD UNDOFILE 'undofile02.dat'
|
||||||
INITIAL_SIZE 4M ENGINE=NDB;
|
INITIAL_SIZE 4M ENGINE=NDB;
|
||||||
@ -43,20 +43,20 @@ USE LOGFILE GROUP lg1
|
|||||||
INITIAL_SIZE 12M
|
INITIAL_SIZE 12M
|
||||||
ENGINE NDB;
|
ENGINE NDB;
|
||||||
|
|
||||||
--error 1502 # Bug 16158
|
--error ER_CREATE_TABLESPACE_FAILED
|
||||||
CREATE TABLESPACE ts1
|
CREATE TABLESPACE ts1
|
||||||
ADD DATAFILE 'datafile.dat'
|
ADD DATAFILE 'datafile.dat'
|
||||||
USE LOGFILE GROUP lg1
|
USE LOGFILE GROUP lg1
|
||||||
INITIAL_SIZE 12M
|
INITIAL_SIZE 12M
|
||||||
ENGINE NDB;
|
ENGINE NDB;
|
||||||
|
|
||||||
# Currently a bug, bug#16158
|
|
||||||
ALTER TABLESPACE ts1
|
ALTER TABLESPACE ts1
|
||||||
ADD DATAFILE 'datafile2.dat'
|
ADD DATAFILE 'datafile2.dat'
|
||||||
INITIAL_SIZE 12M
|
INITIAL_SIZE 12M
|
||||||
ENGINE=NDB;
|
ENGINE=NDB;
|
||||||
|
|
||||||
--error 1507 # Currently a bug, bug#16158
|
--error ER_ALTER_TABLESPACE_FAILED
|
||||||
ALTER TABLESPACE ts1
|
ALTER TABLESPACE ts1
|
||||||
ADD DATAFILE 'datafile2.dat'
|
ADD DATAFILE 'datafile2.dat'
|
||||||
INITIAL_SIZE 12M
|
INITIAL_SIZE 12M
|
||||||
@ -67,7 +67,7 @@ CREATE TABLE t1
|
|||||||
tablespace ts1 storage disk
|
tablespace ts1 storage disk
|
||||||
engine ndb;
|
engine ndb;
|
||||||
|
|
||||||
--error 1050
|
--error ER_TABLE_EXISTS_ERROR
|
||||||
CREATE TABLE t1
|
CREATE TABLE t1
|
||||||
(pk1 int not null primary key, b int not null, c int not null)
|
(pk1 int not null primary key, b int not null, c int not null)
|
||||||
tablespace ts1 storage disk
|
tablespace ts1 storage disk
|
||||||
@ -79,7 +79,7 @@ ALTER TABLESPACE ts1
|
|||||||
DROP DATAFILE 'datafile2.dat'
|
DROP DATAFILE 'datafile2.dat'
|
||||||
ENGINE=NDB;
|
ENGINE=NDB;
|
||||||
|
|
||||||
--error 1507
|
--error ER_ALTER_TABLESPACE_FAILED
|
||||||
ALTER TABLESPACE ts1
|
ALTER TABLESPACE ts1
|
||||||
DROP DATAFILE 'datafile2.dat'
|
DROP DATAFILE 'datafile2.dat'
|
||||||
ENGINE=NDB;
|
ENGINE=NDB;
|
||||||
@ -88,7 +88,7 @@ ALTER TABLESPACE ts1
|
|||||||
DROP DATAFILE 'datafile.dat'
|
DROP DATAFILE 'datafile.dat'
|
||||||
ENGINE=NDB;
|
ENGINE=NDB;
|
||||||
|
|
||||||
--error 1507
|
--error ER_ALTER_TABLESPACE_FAILED
|
||||||
ALTER TABLESPACE ts1
|
ALTER TABLESPACE ts1
|
||||||
DROP DATAFILE 'datafile.dat'
|
DROP DATAFILE 'datafile.dat'
|
||||||
ENGINE=NDB;
|
ENGINE=NDB;
|
||||||
@ -96,14 +96,14 @@ ENGINE=NDB;
|
|||||||
DROP TABLESPACE ts1
|
DROP TABLESPACE ts1
|
||||||
ENGINE=NDB;
|
ENGINE=NDB;
|
||||||
|
|
||||||
--error 1503
|
--error ER_DROP_TABLESPACE_FAILED
|
||||||
DROP TABLESPACE ts1
|
DROP TABLESPACE ts1
|
||||||
ENGINE=NDB;
|
ENGINE=NDB;
|
||||||
|
|
||||||
DROP LOGFILE GROUP lg1
|
DROP LOGFILE GROUP lg1
|
||||||
ENGINE=NDB;
|
ENGINE=NDB;
|
||||||
|
|
||||||
--error 1503
|
--error ER_DROP_TABLESPACE_FAILED
|
||||||
DROP LOGFILE GROUP lg1
|
DROP LOGFILE GROUP lg1
|
||||||
ENGINE=NDB;
|
ENGINE=NDB;
|
||||||
--echo **** End Duplicate Statement Testing ****
|
--echo **** End Duplicate Statement Testing ****
|
||||||
|
Reference in New Issue
Block a user