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
f57f6731
Commit
f57f6731
authored
Feb 28, 2018
by
Huachao Huang
Committed by
zhangjinpeng1987
Feb 28, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix compact files (#192)
parent
5d278e1f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
rocksdb.rs
src/rocksdb.rs
+5
-1
No files found.
src/rocksdb.rs
View file @
f57f6731
...
@@ -1389,7 +1389,11 @@ impl DB {
...
@@ -1389,7 +1389,11 @@ impl DB {
output_level
:
i32
,
output_level
:
i32
,
)
->
Result
<
(),
String
>
{
)
->
Result
<
(),
String
>
{
unsafe
{
unsafe
{
let
input_file_names
:
Vec
<
_
>
=
input_files
.iter
()
.map
(|
f
|
f
.as_ptr
())
.collect
();
let
input_file_cstrs
:
Vec
<
_
>
=
input_files
.iter
()
.map
(|
s
|
CString
::
new
(
s
.as_bytes
())
.unwrap
())
.collect
();
let
input_file_names
:
Vec
<
_
>
=
input_file_cstrs
.iter
()
.map
(|
s
|
s
.as_ptr
())
.collect
();
ffi_try!
(
crocksdb_compact_files_cf
(
ffi_try!
(
crocksdb_compact_files_cf
(
self
.inner
,
self
.inner
,
cf
.inner
,
cf
.inner
,
...
...
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