summaryrefslogtreecommitdiff
path: root/src/mem3/src/mem3_hash.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/mem3/src/mem3_hash.erl')
-rw-r--r--src/mem3/src/mem3_hash.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mem3/src/mem3_hash.erl b/src/mem3/src/mem3_hash.erl
index ccaab7223..0b5402451 100644
--- a/src/mem3/src/mem3_hash.erl
+++ b/src/mem3/src/mem3_hash.erl
@@ -53,7 +53,7 @@ get_hash_fun(DbName0) when is_binary(DbName0) ->
crc32(Item) when is_binary(Item) ->
erlang:crc32(Item);
crc32(Item) ->
- erlang:crc32(term_to_binary(Item)).
+ erlang:crc32(term_to_binary(Item, [{minor_version, 1}])).
get_hash_fun_int(Opts) when is_list(Opts) ->
case lists:keyfind(hash, 1, Opts) of