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
166b17f3
Commit
166b17f3
authored
Jul 06, 2017
by
Cholerae Hu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Options: add filter is none assert
Signed-off-by:
Cholerae Hu
<
huyingqian@pingcap.com
>
parent
551a7d03
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
rocksdb_options.rs
src/rocksdb_options.rs
+1
-1
No files found.
src/rocksdb_options.rs
View file @
166b17f3
...
...
@@ -320,8 +320,8 @@ impl Default for Options {
}
impl
Clone
for
Options
{
// Only copy DBOptions.
fn
clone
(
&
self
)
->
Self
{
assert
!
(
self
.filter
.is_none
());
unsafe
{
let
opts
=
crocksdb_ffi
::
crocksdb_options_copy
(
self
.inner
);
assert
!
(
!
opts
.is_null
());
...
...
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