Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
R
rust-rocksdb
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fangzongwu
rust-rocksdb
Commits
6463f1cd
Commit
6463f1cd
authored
Jul 06, 2017
by
Cholerae Hu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rocksdb: fix const argument
Signed-off-by:
Cholerae Hu
<
huyingqian@pingcap.com
>
parent
94c4b0cb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
c.cc
librocksdb_sys/crocksdb/c.cc
+2
-2
c.h
librocksdb_sys/crocksdb/rocksdb/c.h
+2
-2
No files found.
librocksdb_sys/crocksdb/c.cc
View file @
6463f1cd
...
...
@@ -1593,11 +1593,11 @@ crocksdb_options_t* crocksdb_options_create() {
return
new
crocksdb_options_t
;
}
crocksdb_options_t
*
crocksdb_options_copy
(
crocksdb_options_t
*
other
)
{
crocksdb_options_t
*
crocksdb_options_copy
(
c
onst
c
rocksdb_options_t
*
other
)
{
return
new
crocksdb_options_t
(
*
other
);
}
void
crocksdb_options_destroy
(
c
onst
c
rocksdb_options_t
*
options
)
{
void
crocksdb_options_destroy
(
crocksdb_options_t
*
options
)
{
delete
options
;
}
...
...
librocksdb_sys/crocksdb/rocksdb/c.h
View file @
6463f1cd
...
...
@@ -602,8 +602,8 @@ extern C_ROCKSDB_LIBRARY_API void crocksdb_options_set_cuckoo_table_factory(
/* Options */
extern
C_ROCKSDB_LIBRARY_API
crocksdb_options_t
*
crocksdb_options_create
();
extern
C_ROCKSDB_LIBRARY_API
crocksdb_options_t
*
crocksdb_options_copy
(
crocksdb_options_t
*
);
extern
C_ROCKSDB_LIBRARY_API
void
crocksdb_options_destroy
(
c
onst
c
rocksdb_options_t
*
);
extern
C_ROCKSDB_LIBRARY_API
crocksdb_options_t
*
crocksdb_options_copy
(
c
onst
c
rocksdb_options_t
*
);
extern
C_ROCKSDB_LIBRARY_API
void
crocksdb_options_destroy
(
crocksdb_options_t
*
);
extern
C_ROCKSDB_LIBRARY_API
void
crocksdb_options_increase_parallelism
(
crocksdb_options_t
*
opt
,
int
total_threads
);
extern
C_ROCKSDB_LIBRARY_API
void
crocksdb_options_optimize_for_point_lookup
(
...
...
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