summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/store/ms-sql
diff options
context:
space:
mode:
authorStephen D. Huston <shuston@apache.org>2010-10-21 23:09:00 +0000
committerStephen D. Huston <shuston@apache.org>2010-10-21 23:09:00 +0000
commit6b7572c57dd663f7b3e21746272a9c04f413c8d1 (patch)
treee13c2dfe341dcaf90c5edf067313ee0098357186 /cpp/src/qpid/store/ms-sql
parent7ecaee585691df73928e3bb2248d8977372d1041 (diff)
downloadqpid-python-6b7572c57dd663f7b3e21746272a9c04f413c8d1.tar.gz
Add hybrid SQL-CLFS store that can be used on Windows systems Vista, Win Server 2008 and up - these have the Common Log File System facility. The CLFS store uses CLFS to store/recover messages and transactions instead of SQL. SQL still holds queues, bindings, exchanges, configs.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1026175 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/store/ms-sql')
-rw-r--r--cpp/src/qpid/store/ms-sql/MessageMapRecordset.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/cpp/src/qpid/store/ms-sql/MessageMapRecordset.cpp b/cpp/src/qpid/store/ms-sql/MessageMapRecordset.cpp
index a2ff8aefdd..ce9fa61010 100644
--- a/cpp/src/qpid/store/ms-sql/MessageMapRecordset.cpp
+++ b/cpp/src/qpid/store/ms-sql/MessageMapRecordset.cpp
@@ -224,8 +224,7 @@ MessageMapRecordset::recover(MessageQueueMap& msgMap)
(LPVOID *)&piAdoRecordBinding);
piAdoRecordBinding->BindToRecordset(&b);
while (!rs->EndOfFile) {
- qpid::store::QueueEntry entry;
- entry.queueId = b.queueId;
+ qpid::store::QueueEntry entry(b.queueId);
if (b.xidStatus == adFldOK && b.xidLength > 0) {
entry.xid.assign(b.xid, b.xidLength);
entry.tplStatus =