polardbxengine/mysql-test/suite/xengine/r/tbl_opt_data_index_dir.result

24 lines
1.1 KiB
Plaintext

DROP TABLE IF EXISTS t1;
CREATE TABLE t1 (a INT PRIMARY KEY, b CHAR(8)) ENGINE=xengine DATA DIRECTORY = '/foo/bar/data';
ERROR HY000: Got error 221 'Specifying DATA DIRECTORY for an individual table is not supported.' from XENGINE
CREATE TABLE t1 (a INT PRIMARY KEY, b CHAR(8)) ENGINE=xengine INDEX DIRECTORY = '/foo/bar/index';
ERROR HY000: Got error 222 'Specifying INDEX DIRECTORY for an individual table is not supported.' from XENGINE
CREATE TABLE t1 (id INT NOT NULL PRIMARY KEY) ENGINE=xengine PARTITION BY RANGE (id)
(
PARTITION P0 VALUES LESS THAN (1000)
DATA DIRECTORY = '/foo/bar/data/',
PARTITION P1 VALUES LESS THAN (2000)
DATA DIRECTORY = '/foo/bar/data/',
PARTITION P2 VALUES LESS THAN (MAXVALUE)
);
ERROR 42000: Create partitioned table is not supported yet in xengine.
CREATE TABLE t1 (id int not null primary key) ENGINE=xengine PARTITION BY RANGE (id)
(
PARTITION P0 VALUES LESS THAN (1000)
INDEX DIRECTORY = '/foo/bar/data/',
PARTITION P1 VALUES LESS THAN (2000)
INDEX DIRECTORY = '/foo/bar/data/',
PARTITION P2 VALUES LESS THAN (MAXVALUE)
);
ERROR 42000: Create partitioned table is not supported yet in xengine.