]> git.sur5r.net Git - openldap/commit
Add MDB_RESERVE mode
authorHoward Chu <hyc@symas.com>
Sun, 2 Oct 2011 17:02:30 +0000 (10:02 -0700)
committerHoward Chu <hyc@symas.com>
Sun, 2 Oct 2011 17:02:30 +0000 (10:02 -0700)
commit6e05ca17e988754ae90fde1921765ba130bb90b2
tree1aa3faefe2a0c51bb3bb224b0fb7dae0836fe08b
parentfe11433619573444d67ee2ce193725177579a9f0
Add MDB_RESERVE mode

When putting a record, just make space for the data, don't copy it.
(Not compatible with MDB_DUPSORT, since the actual data is needed
to determine the insert location.)
libraries/libmdb/mdb.c
libraries/libmdb/mdb.h