Author: gordonsim
Date: 2008-05-14 06:23:20 -0400 (Wed, 14 May 2008)
New Revision: 2049
Modified:
store/trunk/cpp/lib/BdbMessageStore.cpp
Log:
Fix for
https://bugzilla.redhat.com/show_bug.cgi?id=442677
Make sure txn is commited on recovering messages so that cleanup takes effect.
Modified: store/trunk/cpp/lib/BdbMessageStore.cpp
===================================================================
--- store/trunk/cpp/lib/BdbMessageStore.cpp 2008-05-14 08:02:45 UTC (rev 2048)
+++ store/trunk/cpp/lib/BdbMessageStore.cpp 2008-05-14 10:23:20 UTC (rev 2049)
@@ -835,6 +835,8 @@
}
}
}
+ messages.close();
+ txn.commit();
messageIdSequence.reset(maxMessageId + 1);
}