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;
|
end;
|
||||||
not_found ->
|
not_found ->
|
||||||
none
|
none
|
||||||
end.
|
end;
|
||||||
|
lookup_node(_,_,none,_) ->
|
||||||
|
none.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
first_node(#index{file=File}) ->
|
first_node(#index{file=File}) ->
|
||||||
|
|
Loading…
Reference in a new issue