And again

This commit is contained in:
martinsumner 2016-12-21 21:49:08 +00:00
parent 3de146043b
commit 39d634c95b

View file

@ -757,7 +757,7 @@ maybe_scan_entire_block(_Block, all, all) ->
true;
maybe_scan_entire_block(Block, StartKey, all) ->
[FirstKey|_Tail] = Block,
leveled_codec:strip_to_keyonly(FirstKey) >= StartKey;
leveled_codec:strip_to_keyonly(FirstKey) > StartKey;
maybe_scan_entire_block(Block, StartKey, EndKey) ->
[FirstKey|_Tail] = Block,
LastKey = leveled_codec:strip_to_keyonly(lists:last(Block)),