The value to binary line in do_put was accidentally duplicated making extra work on a put.
This commit is contained in:
parent
9621cb0043
commit
cfd8bc9bb1
1 changed files with 0 additions and 1 deletions
|
@ -2220,7 +2220,6 @@ flag_value(Flag) ->
|
|||
do_put(Action, Db, Key, Value, Opts) ->
|
||||
{KeyLen, KeyBin} = to_binary(Key),
|
||||
{_, ValBin} = to_binary(Value),
|
||||
{_, ValBin} = to_binary(Value),
|
||||
Crc = erlang:crc32(ValBin),
|
||||
FinalValBin = <<Crc:32/native, ValBin/binary>>,
|
||||
FinalValBinLen = size(FinalValBin),
|
||||
|
|
Loading…
Reference in a new issue