Get Positions - when rolling
CT test was call get_positions hilst the sile was rolling - don't want the file to be checked in this state, so just return an empty list.
This commit is contained in:
parent
3b05874b8a
commit
9bef57a78d
1 changed files with 2 additions and 0 deletions
|
@ -316,6 +316,8 @@ rolling({key_check, Key}, _From, State) ->
|
|||
get_mem(Key, State#state.handle, State#state.hashtree, loose_presence),
|
||||
rolling,
|
||||
State};
|
||||
rolling({get_positions, _SampleSize}, _From, State) ->
|
||||
{reply, [], rolling, State};
|
||||
rolling({return_hashtable, IndexList, HashTreeBin}, _From, State) ->
|
||||
Handle = State#state.handle,
|
||||
{ok, BasePos} = file:position(Handle, State#state.last_position),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue