summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/store
Commit message (Collapse)AuthorAgeFilesLines
* Add hybrid SQL-CLFS store that can be used on Windows systems Vista, Win ↵Stephen D. Huston2010-10-2117-6/+3185
| | | | | | 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
* Fix typo in namespace close commentsStephen D. Huston2010-05-131-2/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@943904 13f79535-47bb-0310-9956-ffa450edef68
* Add store test executions if building the store module. Add trigger on ↵Stephen D. Huston2010-04-191-0/+16
| | | | | | messageMap table deletes to remove orphaned messages from message table; part of QPID-2420. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@935710 13f79535-47bb-0310-9956-ffa450edef68
* Fix g++ compile warning-turned-errorStephen D. Huston2010-04-191-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@935595 13f79535-47bb-0310-9956-ffa450edef68
* Fix for QPID-2420 to correctly handle restoring and commit/abort prepared ↵Stephen D. Huston2010-04-1618-262/+899
| | | | | | | | transactions. The basic approach is documented in QPID-2420. This also makes improvements in the way changes are done to the tblMessageMap table which should perform much better, avoiding pulling the whole table into the broker just to add or edit or delete a single record. Also, some of the consistency checks and enforcements are moved into the database itself from the C++ code. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@935068 13f79535-47bb-0310-9956-ffa450edef68
* Fix restoration of durable messages at startup. Remove all references to a ↵Stephen D. Huston2009-11-057-36/+105
| | | | | | queue that's about to be deleted from the database. Fixes QPID-2183. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@833230 13f79535-47bb-0310-9956-ffa450edef68
* When storing a message, set its new persistence Id. Don't throw an exception ↵Stephen D. Huston2009-11-033-26/+65
| | | | | | | | when attempting to enqueue/dequeue a message without a AMQP transaction associated. Mark queued/dequeued messages complete right after storing in database; there's no delayed notify needed for this storage provider. Fixes QPID-2170. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@832234 13f79535-47bb-0310-9956-ffa450edef68
* In broker, change RecoverableExchange[Impl]::bind() strings to const; they ↵Stephen D. Huston2009-10-305-55/+84
| | | | | | | | | | are never changed, and are only passed on to other methods that expect const strings. Makes it easier to work with from store. In SQL store, fix the deletion of multiple bindings at once. Also, change the tblBinding table to store queue persistenceIds instead of names. Helps keep referential integrity with the queue table. Restoring bindings then just needs to look up the queue name from its ID before restoring each binding. Fixes QPID-2169, and probably QPID-2170. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@831476 13f79535-47bb-0310-9956-ffa450edef68
* Ensure a client-side cursor is used, and change to static cursor to improve ↵Stephen D. Huston2009-10-302-2/+7
| | | | | | | | performance. When adding a new record that has a persistence ID, wait until after the Update to retrieve the new id from the new record. Fixes QPID-2168. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@831167 13f79535-47bb-0310-9956-ffa450edef68
* Always include the hresult message if it's available.Stephen D. Huston2009-10-301-3/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@831161 13f79535-47bb-0310-9956-ffa450edef68
* Change StorageProvider::Exception to inherit from qpid::Exception instead of ↵Stephen D. Huston2009-10-284-26/+42
| | | | | | | | std::exception; allows the broker to catch them and do something other than die without a message. Fixed exception handling around more ADO ops and correctly handle com exceptions without associated ErrorInfo. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@830797 13f79535-47bb-0310-9956-ffa450edef68
* Fix unused arg warningsStephen D. Huston2009-10-282-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@830649 13f79535-47bb-0310-9956-ffa450edef68
* Set up COM initialization before trying to database connection in ↵Stephen D. Huston2009-10-271-0/+1
| | | | | | earlyInitialize. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@830397 13f79535-47bb-0310-9956-ffa450edef68
* Add install steps.Stephen D. Huston2009-10-271-0/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@830311 13f79535-47bb-0310-9956-ffa450edef68
* Initial checkin of portable message store plugin and MS SQL-specific storage ↵Stephen D. Huston2009-10-2129-0/+4101
provider. Goes with QPID-2017 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@827870 13f79535-47bb-0310-9956-ffa450edef68