summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortomyouyou <yxszyn@163.com>2019-08-31 15:27:44 +0800
committerGitHub <noreply@github.com>2019-08-31 15:27:44 +0800
commit133d261ad615d377060c2b6ca0deaa262f109ed9 (patch)
treea830456e3a2969c968bd76d2cc96643596169eba
parent501334a29225336080100df83f34623214337b4f (diff)
downloadrabbitmq-server-git-133d261ad615d377060c2b6ca0deaa262f109ed9.tar.gz
Update rabbit_queue_index.erl
bug: fix the wrong lists operation in pre_publish
-rw-r--r--src/rabbit_queue_index.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_queue_index.erl b/src/rabbit_queue_index.erl
index 9de86ee232..2805584124 100644
--- a/src/rabbit_queue_index.erl
+++ b/src/rabbit_queue_index.erl
@@ -339,7 +339,7 @@ pre_publish(MsgOrId, SeqId, MsgProps, IsPersistent, IsDelivered, JournalSizeHint
false -> ?PUB_TRANS_JPREFIX
end):?JPREFIX_BITS,
SeqId:?SEQ_BITS, Bin/binary,
- (size(MsgBin)):?EMBEDDED_SIZE_BITS>>, MsgBin], PPC],
+ (size(MsgBin)):?EMBEDDED_SIZE_BITS>>, MsgBin] | PPC],
DC1 =
case IsDelivered of