Skip to content

Commit 537893b

Browse files
committed
Fix rocksdb.tbl_opt_data_index_dir on a mac
Part #2: also replace error text in SHOW WARNINGS
1 parent d2f094d commit 537893b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

storage/rocksdb/mysql-test/rocksdb/t/tbl_opt_data_index_dir.test

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,13 @@ DROP TABLE IF EXISTS t1;
2020
--replace_result error: error
2121
--error ER_CANT_CREATE_TABLE
2222
CREATE TABLE t1 (a INT PRIMARY KEY, b CHAR(8)) ENGINE=rocksdb DATA DIRECTORY = '/foo/bar/data';
23+
--replace_result error: error
2324
show warnings;
2425

2526
--replace_result error: error
2627
--error ER_CANT_CREATE_TABLE
2728
CREATE TABLE t1 (a INT PRIMARY KEY, b CHAR(8)) ENGINE=rocksdb INDEX DIRECTORY = '/foo/bar/index';
29+
--replace_result error: error
2830
show warnings;
2931

3032
#
@@ -41,6 +43,7 @@ CREATE TABLE t1 (id INT NOT NULL PRIMARY KEY) ENGINE=rocksdb PARTITION BY RANGE
4143
DATA DIRECTORY = '/foo/bar/data/',
4244
PARTITION P2 VALUES LESS THAN (MAXVALUE)
4345
);
46+
--replace_result error: error
4447
show warnings;
4548

4649
--replace_result error: error
@@ -53,4 +56,5 @@ CREATE TABLE t1 (id int not null primary key) ENGINE=rocksdb PARTITION BY RANGE
5356
INDEX DIRECTORY = '/foo/bar/data/',
5457
PARTITION P2 VALUES LESS THAN (MAXVALUE)
5558
);
59+
--replace_result error: error
5660
show warnings;

0 commit comments

Comments
 (0)