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
503bd70f
Commit
503bd70f
authored
Nov 28, 2014
by
Tyler Neely
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update priorities
parent
60a8d9a2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
7 deletions
+6
-7
README.md
README.md
+5
-6
rocksdb.rs
src/rocksdb.rs
+1
-1
No files found.
README.md
View file @
503bd70f
...
@@ -41,18 +41,17 @@ fn main() {
...
@@ -41,18 +41,17 @@ fn main() {
-
[
x
]
linux support
-
[
x
]
linux support
-
[
x
]
rocksdb compiled via cargo
-
[
x
]
rocksdb compiled via cargo
-
[
x
]
OSX support
-
[
x
]
OSX support
-
[
]
column family operations
-
[
]
rustic merge operator
-
[
]
LRU cache
-
[
]
destroy/repair
-
[
]
batch
-
[
]
batch
-
[
]
iterator
-
[
]
iterator
-
[
]
create/release snapshot
-
[
]
range
-
[
]
range
-
[
]
rustic merge operator
-
[
]
create/release snapshot
-
[
]
column family operations
-
[
]
compaction filter, style
-
[
]
compaction filter, style
-
[
]
LRU cache
-
[
]
destroy/repair
-
[
]
comparator
-
[
]
comparator
-
[
]
slicetransform
-
[
]
slicetransform
-
[
]
logger
-
[
]
windows support
-
[
]
windows support
Feedback and pull requests welcome!
Feedback and pull requests welcome!
src/rocksdb.rs
View file @
503bd70f
...
@@ -224,7 +224,7 @@ pub fn open(path: String, create_if_missing: bool) -> Result<Rocksdb, String> {
...
@@ -224,7 +224,7 @@ pub fn open(path: String, create_if_missing: bool) -> Result<Rocksdb, String> {
let
cpath_ptr
=
cpath
.as_ptr
();
let
cpath_ptr
=
cpath
.as_ptr
();
//TODO test path here, as if rocksdb fails it will just crash the
//TODO test path here, as if rocksdb fails it will just crash the
// process currently
//
process currently
let
err
=
0
as
*
mut
i8
;
let
err
=
0
as
*
mut
i8
;
let
db
=
rocksdb_ffi
::
rocksdb_open
(
opts
,
cpath_ptr
,
err
);
let
db
=
rocksdb_ffi
::
rocksdb_open
(
opts
,
cpath_ptr
,
err
);
...
...
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