Formatting

This commit is contained in:
Gregory Burd 2012-04-15 16:54:27 -04:00
parent 61d360550e
commit b4823d3e8f

View file

@ -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;