summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/broker/MessageStoreModule.cpp
diff options
context:
space:
mode:
authorKim van der Riet <kpvdr@apache.org>2009-08-05 14:21:26 +0000
committerKim van der Riet <kpvdr@apache.org>2009-08-05 14:21:26 +0000
commitc5357be8ed980a72613e57af916868f5707be536 (patch)
treef0bffd3e6f141c63643c4b5cca9e777d5ef3e4a0 /cpp/src/qpid/broker/MessageStoreModule.cpp
parent92f8e307ee66bbd4262dee5fc7387954ba2e5d03 (diff)
downloadqpid-python-c5357be8ed980a72613e57af916868f5707be536.tar.gz
Rename of MessageStore::discardInit() to MessageStore::truncateInint(), resulting from a cleanup of the code logic in the store.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@801239 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/MessageStoreModule.cpp')
-rw-r--r--cpp/src/qpid/broker/MessageStoreModule.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/qpid/broker/MessageStoreModule.cpp b/cpp/src/qpid/broker/MessageStoreModule.cpp
index bf2a27b539..0b8a5db1c7 100644
--- a/cpp/src/qpid/broker/MessageStoreModule.cpp
+++ b/cpp/src/qpid/broker/MessageStoreModule.cpp
@@ -41,9 +41,9 @@ MessageStoreModule::~MessageStoreModule()
bool MessageStoreModule::init(const Options*) { return true; }
-void MessageStoreModule::discardInit(const bool pushDownStoreFiles)
+void MessageStoreModule::truncateInit(const bool pushDownStoreFiles)
{
- TRANSFER_EXCEPTION(store->discardInit(pushDownStoreFiles));
+ TRANSFER_EXCEPTION(store->truncateInit(pushDownStoreFiles));
}
void MessageStoreModule::create(PersistableQueue& queue, const FieldTable& args)