Add support for buckets that are tuples
Only {binary(), binary()} tuples
This commit is contained in:
parent
cbd7713c71
commit
0fb35e658f
3 changed files with 23 additions and 6 deletions
|
@ -843,7 +843,9 @@ get_metadata_from_siblings(<<ValLen:32/integer, Rest0/binary>>,
|
|||
next_key(Key) when is_binary(Key) ->
|
||||
<<Key/binary, 0>>;
|
||||
next_key(Key) when is_list(Key) ->
|
||||
Key ++ [0].
|
||||
Key ++ [0];
|
||||
next_key({Type, Bucket}) when is_binary(Type), is_binary(Bucket) ->
|
||||
{Type, next_key(Bucket)}.
|
||||
|
||||
|
||||
%%%============================================================================
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue