diff options
| author | Gordon Sim <gsim@apache.org> | 2008-12-01 19:49:23 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2008-12-01 19:49:23 +0000 |
| commit | a03d20dd52beb9588bcff3fa0924489372172f18 (patch) | |
| tree | 2e8c965ab87bed09a4d55b58df0b0d0f25774a52 /cpp/src/qpid/broker/DtxAck.cpp | |
| parent | 89b492cf4847ac930cd112ca16ae9e2786d4976f (diff) | |
| download | qpid-python-a03d20dd52beb9588bcff3fa0924489372172f18.tar.gz | |
QPID-1497: Ensure policy count and size reflect transactionality of dequeues
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@722200 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/DtxAck.cpp')
| -rw-r--r-- | cpp/src/qpid/broker/DtxAck.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/src/qpid/broker/DtxAck.cpp b/cpp/src/qpid/broker/DtxAck.cpp index 100ce2492d..bc7d662afb 100644 --- a/cpp/src/qpid/broker/DtxAck.cpp +++ b/cpp/src/qpid/broker/DtxAck.cpp @@ -48,6 +48,7 @@ bool DtxAck::prepare(TransactionContext* ctxt) throw() void DtxAck::commit() throw() { + for_each(pending.begin(), pending.end(), mem_fun_ref(&DeliveryRecord::committed)); pending.clear(); } |
