diff options
author | Carl C. Trieloff <cctrieloff@apache.org> | 2008-12-16 21:56:35 +0000 |
---|---|---|
committer | Carl C. Trieloff <cctrieloff@apache.org> | 2008-12-16 21:56:35 +0000 |
commit | 115136c2eac874a5744f24cbb31e017e05e1ca73 (patch) | |
tree | 896d443e614f796e9abe370a056e460657631d98 /cpp/src | |
parent | c5d4420b0bf574200158ba943d74f9bfd13ad56e (diff) | |
download | qpid-python-115136c2eac874a5744f24cbb31e017e05e1ca73.tar.gz |
LVQ browse policy update
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@727184 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src')
-rw-r--r-- | cpp/src/qpid/broker/Queue.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/broker/Queue.cpp b/cpp/src/qpid/broker/Queue.cpp index 4880dda553..a1273c572b 100644 --- a/cpp/src/qpid/broker/Queue.cpp +++ b/cpp/src/qpid/broker/Queue.cpp @@ -307,7 +307,7 @@ bool Queue::browseNextMessage(QueuedMessage& m, Consumer::shared_ptr c) //consumer wants the message c->position = msg.position; m = msg; - clearLVQIndex(msg); + if (!lastValueQueueNoAcquire) clearLVQIndex(msg); return true; } else { //browser hasn't got enough credit for the message |