summaryrefslogtreecommitdiffstats
path: root/common/storage_lmdb.cpp
Commit message (Collapse)AuthorAge
...
* Removed convenience APIChristian Mollekopf2015-08-23
|
* Storage cleanupChristian Mollekopf2015-08-23
|
* Increase the limit of named databases to 50Christian Mollekopf2015-08-23
|
* Duplicate settings as part of opening db.Christian Mollekopf2015-08-23
|
* Less noise and better error handling.Christian Mollekopf2015-08-23
| | | | | Trying to read from non-existant databases no longer prints error messages.
* Use named databases in storage.Christian Mollekopf2015-08-22
| | | | This will allow us to create indexes in the same store.
* Moved opening of transactions and database interfaces into the txnChristian Mollekopf2015-08-19
|
* Autocommit for the transactionChristian Mollekopf2015-08-13
|
* Support for nested transactionsChristian Mollekopf2015-08-12
|
* Error on remove without transactionChristian Mollekopf2015-08-11
|
* Removed legacy APIChristian Mollekopf2015-08-11
|
* const scan and public default ctorChristian Mollekopf2015-08-10
|
* Transaction class for storageChristian Mollekopf2015-08-09
| | | | | | The beginning of a cleaner and less bare-bones API for the storage. The lifetime of transactions is now handled in (movable) transaction objects.
* Less noiseChristian Mollekopf2015-04-07
|
* Storage: API cleanup/use QByteArray instead of std::stringChristian Mollekopf2015-03-31
|
* void const -> const voidAaron Seigo2015-02-09
| | | | | equivalent syntax, but follows the standard idiom we use throughout the code .. const char *, not char const * (e.g.)
* Open the database readonly in readonly mode.Christian Mollekopf2015-01-30
|
* can not delete this as it is an opaque data structureAaron Seigo2015-01-27
| | | | instead, use the lmdb api
* debug output, fixed dummyresourcetestChristian Mollekopf2015-01-25
|
* Uid index + query using that index.Christian Mollekopf2015-01-24
| | | | ...and a couple of other fixes.
* Storage: support for duplicates.Christian Mollekopf2015-01-20
|
* Fixed storage removal.Christian Mollekopf2015-01-16
| | | | We have to remove any open environments as well.
* Fixed messageqeue and storage. Empty scan is not an error.Christian Mollekopf2015-01-15
|
* Fixed messagequeueChristian Mollekopf2015-01-15
|
* Finally working multithreaded reads from lmdb?Christian Mollekopf2015-01-11
|
* Error handling for remove.Christian Mollekopf2015-01-11
|
* Remove from storage call.Christian Mollekopf2015-01-11
|
* Fixed turning read transactions into write transactions.Christian Mollekopf2015-01-11
|
* unifying buffer, and a better way to implement domain object adapters.Christian Mollekopf2014-12-24
|
* Write-Read loop from clientside.Christian Mollekopf2014-12-21
| | | | | | | | | It's a huge hack but starts to show results. Most urgently we need: * reliable command results * the 3 buffers instead of the 1 * A way to implement storage as preprocessor (or a place to impelement it after the preprocessors).
* lgplAaron Seigo2014-12-15
|
* namespace everything in libs with Akonadi2Aaron Seigo2014-12-15
|
* Make lmdb work with threads.Christian Mollekopf2014-12-15
|
* avoid integer overflow ... at least on 64 bit.Aaron Seigo2014-12-15
|
* Create base directory if necessary.Christian Mollekopf2014-12-14
|
* remove readAll in favor of using scanAaron Seigo2014-12-14
|
* keep the databases separateAaron Seigo2014-12-11
| | | | | | | | | | | | | otherwise, to keep all the dbs in the same file we need to call mdb_env_set_maxdbs before mdb_env_open ... and even then the docs say: "Currently a moderate number of slots are cheap but a huge number gets expensive: 7-120 words per transaction, and every mdb_dbi_open() does a linear search of the opened slots." Ugh. that and the mem mapping probably gets screwed oever .. whatever. this way hawd works again :)
* don't miss the first item in the database!Aaron Seigo2014-12-11
|
* add a read that gets keys and valuesAaron Seigo2014-12-11
| | | | (this really really really needs a cleanup now)
* add another read method and expose a basic error handler for convenienceAaron Seigo2014-12-11
| | | | also, add some todos
* Storage: implemented scanChristian Mollekopf2014-12-10
| | | | | | This can replace all our read calls. Note that we need a different API for databases where the value needs to be loaded first, so we can do a key scan before loading values. With this we can do key + value scans in one though.
* read takes an error handler rather than returns a boolAaron Seigo2014-12-06
|
* require users of a Storage class to state up-front if they are read or readwriteAaron Seigo2014-12-05
|
* buildAaron Seigo2014-12-05
|
* Merge branch 'kyoto'Aaron Seigo2014-12-05
| | | | | | | | | Conflicts: common/storage.h common/storage_lmdb.cpp dummyresource/facade.cpp store/test/CMakeLists.txt tests/storagebenchmark.cpp
* make read return a bool on successAaron Seigo2014-12-05
| | | | | not happy with this API, but we need to discuss the whole read thing anyways
* major reorg that puts Storage (previously Database) into commonAaron Seigo2014-12-05
there is now a top-level tests dir, and a compile time switch for lmdb vs kyotocabinet