Handle no-lookup hash in retain strategy

This commit is contained in:
martinsumner 2017-01-05 22:42:59 +00:00
parent a617f8fb66
commit 24ec918eb1

View file

@ -61,6 +61,8 @@
%%% API
%%%============================================================================
prepare_for_index(IndexArray, no_lookup) ->
IndexArray;
prepare_for_index(IndexArray, Hash) ->
{Slot, H0} = split_hash(Hash),
Bin = array:get(Slot, IndexArray),