Howard Chu
09006ccec7
API change, consistency check
...
mdb_close() takes an env, not a txn.
Also, add check for stale DB records (in case some other process
wrote to the DB last).
13 years ago
Howard Chu
2510bea718
API cleanup, doxygen docs for public API
13 years ago
Howard Chu
88a5f35c43
Use O_DSYNC on metafd.
...
Use sync writes in mtest.
13 years ago
Howard Chu
76d7ca8ce0
Rationalize mdbenv namespace
13 years ago
Howard Chu
2f7ddb4103
Cleanup, add mdb_cursor_count()
13 years ago
Howard Chu
314ac28938
Sorted dups basically completed, needs testing
13 years ago
Howard Chu
edf7869466
Add cursor_prev
13 years ago
Howard Chu
60550e14ee
Add some legalese
...
Note derived from Martin Hedenfalk's btree.c; the code
is significantly reworked but owes a lot to the original.
13 years ago
Howard Chu
4fd0f278d2
Tweaks to txn handling
13 years ago
Howard Chu
f89d0cc4b7
More subDBs, compiles now
13 years ago
Howard Chu
2766e88eeb
More prep for subdatabases
13 years ago
Hallvard B Furuseth
63370215dd
#define _XOPEN_SOURCE for random()
14 years ago
Hallvard B Furuseth
5fdbc54d76
Warning cleanup: if(rc = mdb_<func>()) & co
14 years ago
Hallvard B Furuseth
f42f7f3442
Fix formats, reduce PAGEHDRSZ size_t->unsigned.
...
NUMKEYS was size_t due to PAGEHDRSZ; printing unsigned int is simpler.
Instead increase PAGEFILL to long, since it involves a multiply.
Possibly uint32_t or something would be sufficient.
14 years ago
Howard Chu
2d4f522a73
More cursor tests, fail...
14 years ago
Howard Chu
f367441b69
Add locking support
14 years ago
Howard Chu
a4c3626267
Fix P_INVALID def
14 years ago
Howard Chu
7d678832a7
Cursor testing
14 years ago
Howard Chu
a2de260fb3
Use NOSYNC flag
14 years ago
Howard Chu
d620d4368a
Checkpoint
14 years ago