Fix missing case in lookup_node
Doing range fold on an empty store triggered this edge case.
This commit is contained in:
parent
19c37eb0a1
commit
72db206905
1 changed files with 4 additions and 1 deletions
|
@ -242,7 +242,10 @@ lookup_node(File,FromKey,#node{members=Members,level=N},_) ->
|
|||
end;
|
||||
not_found ->
|
||||
none
|
||||
end.
|
||||
end;
|
||||
lookup_node(_,_,none,_) ->
|
||||
none.
|
||||
|
||||
|
||||
|
||||
first_node(#index{file=File}) ->
|
||||
|
|
Loading…
Reference in a new issue