Quanah Gibson-Mount
3a940d6860
Happy New Year!
4 years ago
Howard Chu
8e8371d125
ITS#9364 Add docs for crypto modules
4 years ago
Howard Chu
b220a6655b
ITS#9364 Add crypto support to all tools
...
Using dynamically loaded crypto modules
4 years ago
Howard Chu
12c63d299c
ITS#9364 use crypto table properly
4 years ago
Howard Chu
93c72a7726
ITS#9364 add sample for authenticated encryption
4 years ago
Howard Chu
8dc526c54f
ITS#9364 rework crypto API
...
And add support for per-page checksums. Reserve space for checksum
at tail of page. Pass pgno+txnid as IV input for encryption.
4 years ago
Howard Chu
525a2cce91
Add test code for remap / encryption
4 years ago
Howard Chu
6ac9aa666e
Happy New Year
8 years ago
Howard Chu
5f5f4dab9c
Happy New Year
9 years ago
Hallvard Furuseth
77bdbdd9de
mtest*.c: Fix MDB_NOOVERWRITE, plug cursor leak
10 years ago
Hallvard Furuseth
2f6877ff7b
Cleanup mtest* and sample-*.
...
Fix mdb_txn_begin(&read-only txn) calls. Test mdb_env_set_maxreaders().
Rename DBI open/close functions. Move mdb_dbi_close() out of txn.
10 years ago
Quanah Gibson-Mount
6fe12f3273
Happy New Year
10 years ago
Howard Chu
ca47c2af1f
ITS#7879 Windows build compatibility
...
Just use srand/rand, we don't care about the quality
of the random numbers, we just want some data.
11 years ago
Hallvard Furuseth
2727e97de3
mtest: Accept an MDB_NOTFOUND case
11 years ago
Hallvard Furuseth
e2bdd44624
mtest*.c, sample-*.c: Add/note error checks.
11 years ago
Hallvard Furuseth
92f71f50f9
Add MDB_CLEANMEM option.
...
Initialize unused portions of DB pages, for security or to silence
checkers like Purify and Valgrind. Like BDB configure --enable-umrw.
11 years ago
Howard Chu
b711c07f34
Fix rebalance/cursor adjust
...
When collapsing root, must also move cursor index down,
not just the page pointer.
Also in mtest, break from NEXT loops on error, otherwise it just
prints the previous key/data again, which looks confusing.
12 years ago
Howard Chu
cb1cc64831
More fixes for MDB_LAST
...
Make sure C_INITIALIZED gets set on successful call
12 years ago
Howard Chu
7aae15739b
Fix CURSOR_LAST/CURSOR_PREV
12 years ago
Howard Chu
98fe339089
Rename libmdb to liblmdb
12 years ago
Howard Chu
13f3bcd59c
Rename libmdb to liblmdb, lmdb.h
...
Avoid naming conflicts with other mdb* packages. Bump version to 0.9.5
12 years ago
Howard Chu
c4d5e6e786
Add support for nested transactions.
13 years ago
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