| Commit message (Collapse) | Author | Age |
... | |
|
|
|
|
|
|
|
|
| |
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).
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 :)
|
| |
|
|
|
|
| |
(this really really really needs a cleanup now)
|
|
|
|
| |
also, add some todos
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
Conflicts:
common/storage.h
common/storage_lmdb.cpp
dummyresource/facade.cpp
store/test/CMakeLists.txt
tests/storagebenchmark.cpp
|
|
|
|
|
| |
not happy with this API, but we need to discuss the whole read
thing anyways
|
|
there is now a top-level tests dir, and a compile time switch for
lmdb vs kyotocabinet
|