Howard Chu
88a5f35c43
Use O_DSYNC on metafd.
...
Use sync writes in mtest.
2011-09-01 16:31:09 -07:00
Howard Chu
76d7ca8ce0
Rationalize mdbenv namespace
2011-09-01 16:31:09 -07:00
Howard Chu
2f7ddb4103
Cleanup, add mdb_cursor_count()
2011-09-01 16:17:07 -07:00
Howard Chu
314ac28938
Sorted dups basically completed, needs testing
2011-09-01 16:17:07 -07:00
Howard Chu
edf7869466
Add cursor_prev
2011-09-01 16:17:07 -07:00
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.
2011-09-01 16:17:07 -07:00
Howard Chu
4fd0f278d2
Tweaks to txn handling
2011-09-01 16:17:06 -07:00
Howard Chu
f89d0cc4b7
More subDBs, compiles now
2011-09-01 16:17:06 -07:00
Howard Chu
2766e88eeb
More prep for subdatabases
2011-09-01 16:17:06 -07:00
Hallvard B Furuseth
63370215dd
#define _XOPEN_SOURCE for random()
2011-06-29 22:29:24 +02:00
Hallvard B Furuseth
5fdbc54d76
Warning cleanup: if(rc = mdb_<func>()) & co
2011-06-29 22:29:24 +02:00
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.
2011-06-29 22:29:24 +02:00
Howard Chu
2d4f522a73
More cursor tests, fail...
2011-06-29 01:55:53 -07:00
Howard Chu
f367441b69
Add locking support
2011-06-28 13:46:48 -07:00
Howard Chu
a4c3626267
Fix P_INVALID def
2011-06-28 02:57:02 -07:00
Howard Chu
7d678832a7
Cursor testing
2011-06-28 02:43:49 -07:00
Howard Chu
a2de260fb3
Use NOSYNC flag
2011-06-28 00:15:40 -07:00
Howard Chu
d620d4368a
Checkpoint
2011-06-27 22:39:24 -07:00