Undo fancy-pancy sext key encoding
Sadly, this didn't work Have to investigate more…
This commit is contained in:
parent
1cf4805da5
commit
5facc3df18
1 changed files with 7 additions and 6 deletions
|
@ -230,12 +230,13 @@ fold_keys(FoldKeysFun, Acc, Opts, #state{tree=Tree}) ->
|
|||
bucket_range(undefined) ->
|
||||
#btree_range{};
|
||||
bucket_range(Bucket) ->
|
||||
#btree_range{
|
||||
from_key = to_object_key(Bucket, '_'),
|
||||
from_inclusive = true,
|
||||
to_key = to_object_key(<<Bucket, 0>>, '_'),
|
||||
to_inclusive = false
|
||||
}.
|
||||
#btree_range{}.
|
||||
% #btree_range{
|
||||
% from_key = to_object_key(Bucket, '_'),
|
||||
% from_inclusive = true,
|
||||
% to_key = to_object_key(<<Bucket, 0>>, '_'),
|
||||
% to_inclusive = false
|
||||
% }.
|
||||
|
||||
|
||||
%% @doc Fold over all the objects for one or all buckets.
|
||||
|
|
Loading…
Reference in a new issue