diff options
| author | Matthew Sackman <matthew@lshift.net> | 2009-06-05 13:37:50 +0100 |
|---|---|---|
| committer | Matthew Sackman <matthew@lshift.net> | 2009-06-05 13:37:50 +0100 |
| commit | 8c0cb1225d6ffdee0df6a55cd42242c7536ce2be (patch) | |
| tree | 4dfc177144ff0449ede6ff238a7f9bca32d5be4f | |
| parent | 0386c4a11a76a8d9a887c7c562b6b97dbba30f10 (diff) | |
| download | rabbitmq-server-git-8c0cb1225d6ffdee0df6a55cd42242c7536ce2be.tar.gz | |
all java tests now pass. tiny (but significant!) bug in the mixed_queue startup post disk_queue startup.
| -rw-r--r-- | src/rabbit_mixed_queue.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_mixed_queue.erl b/src/rabbit_mixed_queue.erl index 1b0386e696..610a236641 100644 --- a/src/rabbit_mixed_queue.erl +++ b/src/rabbit_mixed_queue.erl @@ -53,7 +53,7 @@ start_link(Queue, IsDurable, Mode) when Mode =:= disk orelse Mode =:= mixed -> lists:foldl( fun ({_MsgId, Msg, _Size, Delivered, SeqId}, {Buf, NSeq}) when SeqId >= NSeq -> - {queue:in({SeqId, Msg, Delivered}, Buf), SeqId + 1} + {queue:in({SeqId, binary_to_term(Msg), Delivered}, Buf), SeqId + 1} end, {queue:new(), 0}, QList), {ok, #mqstate { mode = Mode, msg_buf = MsgBuf, next_write_seq = NextSeq, queue = Queue, is_durable = IsDurable }}. |
