Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
1da84412
Commit
1da84412
authored
Jul 15, 2019
by
Sergei Petrunia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix rocksdb.tbl_opt_data_index_dir on a mac
parent
ec49976e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
storage/rocksdb/mysql-test/rocksdb/t/tbl_opt_data_index_dir.test
.../rocksdb/mysql-test/rocksdb/t/tbl_opt_data_index_dir.test
+8
-0
No files found.
storage/rocksdb/mysql-test/rocksdb/t/tbl_opt_data_index_dir.test
View file @
1da84412
...
...
@@ -13,10 +13,16 @@
DROP
TABLE
IF
EXISTS
t1
;
--
enable_warnings
# On a Mac, strerror() prints "Unknown error: nn", as
# opposed to "Unknown error nn" on Linux/etc.
# Replacing 'error:' with 'error' below to make the output uniform.
--
replace_result
error
:
error
--
error
ER_CANT_CREATE_TABLE
CREATE
TABLE
t1
(
a
INT
PRIMARY
KEY
,
b
CHAR
(
8
))
ENGINE
=
rocksdb
DATA
DIRECTORY
=
'/foo/bar/data'
;
show
warnings
;
--
replace_result
error
:
error
--
error
ER_CANT_CREATE_TABLE
CREATE
TABLE
t1
(
a
INT
PRIMARY
KEY
,
b
CHAR
(
8
))
ENGINE
=
rocksdb
INDEX
DIRECTORY
=
'/foo/bar/index'
;
show
warnings
;
...
...
@@ -25,6 +31,7 @@ show warnings;
# Verify that we'll get the same error codes when using the partitions.
#
--
replace_result
error
:
error
--
error
ER_CANT_CREATE_TABLE
CREATE
TABLE
t1
(
id
INT
NOT
NULL
PRIMARY
KEY
)
ENGINE
=
rocksdb
PARTITION
BY
RANGE
(
id
)
(
...
...
@@ -36,6 +43,7 @@ CREATE TABLE t1 (id INT NOT NULL PRIMARY KEY) ENGINE=rocksdb PARTITION BY RANGE
);
show
warnings
;
--
replace_result
error
:
error
--
error
ER_CANT_CREATE_TABLE
CREATE
TABLE
t1
(
id
int
not
null
primary
key
)
ENGINE
=
rocksdb
PARTITION
BY
RANGE
(
id
)
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment