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 | d3c6879a29c92869ef753e6789229bf0faa51cb1 (patch) | |
tree | bad25989aec5690c18463129f2cbf86f1c81e6ea | |
parent | cbe71e827eb0cc35867f43fc0c9c5177fd6e8082 (diff) | |
download | qpid-python-d3c6879a29c92869ef753e6789229bf0faa51cb1.tar.gz |
LVQ browse policy update
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@727184 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | qpid/cpp/src/qpid/broker/Queue.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/src/qpid/broker/Queue.cpp b/qpid/cpp/src/qpid/broker/Queue.cpp index 4880dda553..a1273c572b 100644 --- a/qpid/cpp/src/qpid/broker/Queue.cpp +++ b/qpid/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 |