mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 19:37:16 +02:00
Fix rocksdb.tbl_opt_data_index_dir on a mac
Part #2: also replace error text in SHOW WARNINGS
This commit is contained in:
parent
d2f094d9e6
commit
537893b072
1 changed files with 4 additions and 0 deletions
|
|
@ -20,11 +20,13 @@ DROP TABLE IF EXISTS t1;
|
||||||
--replace_result error: error
|
--replace_result error: error
|
||||||
--error ER_CANT_CREATE_TABLE
|
--error ER_CANT_CREATE_TABLE
|
||||||
CREATE TABLE t1 (a INT PRIMARY KEY, b CHAR(8)) ENGINE=rocksdb DATA DIRECTORY = '/foo/bar/data';
|
CREATE TABLE t1 (a INT PRIMARY KEY, b CHAR(8)) ENGINE=rocksdb DATA DIRECTORY = '/foo/bar/data';
|
||||||
|
--replace_result error: error
|
||||||
show warnings;
|
show warnings;
|
||||||
|
|
||||||
--replace_result error: error
|
--replace_result error: error
|
||||||
--error ER_CANT_CREATE_TABLE
|
--error ER_CANT_CREATE_TABLE
|
||||||
CREATE TABLE t1 (a INT PRIMARY KEY, b CHAR(8)) ENGINE=rocksdb INDEX DIRECTORY = '/foo/bar/index';
|
CREATE TABLE t1 (a INT PRIMARY KEY, b CHAR(8)) ENGINE=rocksdb INDEX DIRECTORY = '/foo/bar/index';
|
||||||
|
--replace_result error: error
|
||||||
show warnings;
|
show warnings;
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
@ -41,6 +43,7 @@ CREATE TABLE t1 (id INT NOT NULL PRIMARY KEY) ENGINE=rocksdb PARTITION BY RANGE
|
||||||
DATA DIRECTORY = '/foo/bar/data/',
|
DATA DIRECTORY = '/foo/bar/data/',
|
||||||
PARTITION P2 VALUES LESS THAN (MAXVALUE)
|
PARTITION P2 VALUES LESS THAN (MAXVALUE)
|
||||||
);
|
);
|
||||||
|
--replace_result error: error
|
||||||
show warnings;
|
show warnings;
|
||||||
|
|
||||||
--replace_result error: error
|
--replace_result error: error
|
||||||
|
|
@ -53,4 +56,5 @@ CREATE TABLE t1 (id int not null primary key) ENGINE=rocksdb PARTITION BY RANGE
|
||||||
INDEX DIRECTORY = '/foo/bar/data/',
|
INDEX DIRECTORY = '/foo/bar/data/',
|
||||||
PARTITION P2 VALUES LESS THAN (MAXVALUE)
|
PARTITION P2 VALUES LESS THAN (MAXVALUE)
|
||||||
);
|
);
|
||||||
|
--replace_result error: error
|
||||||
show warnings;
|
show warnings;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue