diff options
Diffstat (limited to 'cpp/src/qpid/broker/SemanticState.cpp')
| -rw-r--r-- | cpp/src/qpid/broker/SemanticState.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/src/qpid/broker/SemanticState.cpp b/cpp/src/qpid/broker/SemanticState.cpp index 3c4f6abc30..b3167d0377 100644 --- a/cpp/src/qpid/broker/SemanticState.cpp +++ b/cpp/src/qpid/broker/SemanticState.cpp @@ -127,6 +127,8 @@ void SemanticState::commit(MessageStore* const store, bool completeOnCommit) txBuffer->enlist(txAck); if (txBuffer->commitLocal(store)) { accumulatedAck.clear(); + } else { + throw InternalErrorException(QPID_MSG("Commit failed")); } } |
