Browse files

The value to binary line in do_put was accidentally duplicated making…

… extra work on a put.
  • Loading branch information...
1 parent 25a78e0 commit b45cf7c743f3fb4cdfa6fdb5546e52154aca7db8 Jon Meredith committed with toland Jun 30, 2009
Showing with 0 additions and 1 deletion.
  1. +0 −1 src/bdberl.erl
View
1 src/bdberl.erl
@@ -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),

0 comments on commit b45cf7c

Please sign in to comment.