Formatting
This commit is contained in:
parent
61d360550e
commit
b4823d3e8f
1 changed files with 6 additions and 3 deletions
|
@ -362,9 +362,12 @@ do_lookup(Key, [undefined|Rest]) ->
|
||||||
do_lookup(Key, Rest);
|
do_lookup(Key, Rest);
|
||||||
do_lookup(Key, [BT|Rest]) ->
|
do_lookup(Key, [BT|Rest]) ->
|
||||||
case lsm_btree_reader:lookup(BT, Key) of
|
case lsm_btree_reader:lookup(BT, Key) of
|
||||||
{ok, ?TOMBSTONE} -> not_found;
|
{ok, ?TOMBSTONE} ->
|
||||||
{ok, Result} -> {found, Result};
|
not_found;
|
||||||
not_found -> do_lookup(Key, Rest)
|
{ok, Result} ->
|
||||||
|
{found, Result};
|
||||||
|
not_found ->
|
||||||
|
do_lookup(Key, Rest)
|
||||||
end.
|
end.
|
||||||
|
|
||||||
close_if_defined(undefined) -> ok;
|
close_if_defined(undefined) -> ok;
|
||||||
|
|
Loading…
Reference in a new issue