You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by gs...@apache.org on 2014/08/22 13:18:31 UTC

svn commit: r1619746 - /qpid/trunk/qpid/cpp/src/qpid/broker/SemanticState.cpp

Author: gsim
Date: Fri Aug 22 11:18:31 2014
New Revision: 1619746

URL: http://svn.apache.org/r1619746
Log:
NO-JIRA: remove redundant and confusing statement; the record is already marked ended and this invocation is on the copy that is not stored anyway

Modified:
    qpid/trunk/qpid/cpp/src/qpid/broker/SemanticState.cpp

Modified: qpid/trunk/qpid/cpp/src/qpid/broker/SemanticState.cpp
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/qpid/broker/SemanticState.cpp?rev=1619746&r1=1619745&r2=1619746&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/qpid/broker/SemanticState.cpp (original)
+++ qpid/trunk/qpid/cpp/src/qpid/broker/SemanticState.cpp Fri Aug 22 11:18:31 2014
@@ -397,7 +397,6 @@ bool SemanticStateConsumerImpl::deliver(
     }
     if (acquire && !ackExpected) {  // auto acquire && auto accept
         queue->dequeue(0 /*ctxt*/, cursor);
-        record.setEnded();
     }
     if (mgmtObject) { mgmtObject->inc_delivered(); }
     return true;



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org