Skip to content
This repository was archived by the owner on Mar 5, 2024. It is now read-only.

Commit 92ebb1d

Browse files
committed
Fix extra Opts param in CF version and note to test it
1 parent 6a2579e commit 92ebb1d

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/blockchain_rocks.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ stream(DB, Opts) ->
6565
) ->
6666
data_stream:t({K :: binary(), V :: binary()}).
6767
stream(DB, CF, Opts) ->
68-
stream_(fun () -> rocksdb:iterator(DB, CF, Opts, Opts) end).
68+
stream_(fun () -> rocksdb:iterator(DB, CF, Opts) end).
6969

7070
%% @doc Select K random records from database.
7171
-spec sample(rocksdb:db_handle(), rocksdb:read_options(), pos_integer()) ->

test/blockchain_rocks_SUITE.erl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ all() ->
3131
t_stream_mapped_and_filtered
3232
].
3333

34+
%%% TODO CF and non-CF groups
35+
3436
init_per_suite(Cfg) ->
3537
NumRecords = 10_000,
3638
DB = db_init(?MODULE, Cfg, NumRecords),

0 commit comments

Comments
 (0)