A ref change was pushed to the OpenLDAP (openldap.git) repository. It will be available in the public mirror shortly.
The branch, mdb.master has been updated via 0b9a2085302191a14ee14449c0987c5294be9026 (commit) via f355de0298d2dc4f080fdc4f275a881bfecb0716 (commit) via b389341b4b2413804726276d01676a6a9d05346f (commit) via 91a93004ce1fb4efbdf2867680d2e6cddbbeab8c (commit) via 385889b0bee53b355f64d1749ba1e7788f7c66cb (commit) via 17ffe9c9922082d15f76d43c853c1bc5da517a3e (commit) via dca0cef678c285c6a173147a70fd8692ce447f62 (commit) via f45d40a88bc10b2d1abab43712469309a26c6d98 (commit) via 151c416b460b02cd96502a47189cda19ab651ada (commit) from 21da623bf40dc21f89c3172c523d094075e0824b (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- commit 0b9a2085302191a14ee14449c0987c5294be9026 Author: Hallvard Furuseth hallvard@openldap.org Date: Sat May 4 12:53:43 2013 +0200
Simplify/cleanup mdb_cursor_init, C_ALLOCD.
No real change. mdb_cursor_init() checks if it needs mx, so pass it unconditionally. Set C_ALLOCD for shadow cursors, for clarity. (It was always set as it should anyway from the origin cursor, which would have C_ALLOCD.)
commit f355de0298d2dc4f080fdc4f275a881bfecb0716 Author: Hallvard Furuseth hallvard@openldap.org Date: Sat May 4 12:41:28 2013 +0200
MDB warning cleanup.
Unused function when MDB_DEBUG. Unused 'excl' param.
commit b389341b4b2413804726276d01676a6a9d05346f Author: Hallvard Furuseth hallvard@openldap.org Date: Sat May 4 12:34:49 2013 +0200
mdb_dcmp(): Assume the database has MDB_DUPSORT.
There was little point in returning EINVAL when not: Comparing (A,B) and (B,A) would claim (A > B && B > A), which could confuse callers.
commit 91a93004ce1fb4efbdf2867680d2e6cddbbeab8c Author: Hallvard Furuseth hallvard@openldap.org Date: Sat May 4 12:34:20 2013 +0200
Update MDB doc: Cursors, DB handles, data lifetime
commit 385889b0bee53b355f64d1749ba1e7788f7c66cb Author: Hallvard Furuseth hallvard@openldap.org Date: Sat May 4 12:34:02 2013 +0200
Allow mdb_cursor_close() after readonly txn ends.
Catch mdb_cursor_renew(write txn's cursor). Add flag C_UNTRACK, so mdb_cursor_close need not peek inside a possibly-freed readonly txn.
commit 17ffe9c9922082d15f76d43c853c1bc5da517a3e Author: Hallvard Furuseth hallvard@openldap.org Date: Sat May 4 12:33:06 2013 +0200
Close cursors when commit(writer). Factor out code.
Close remaining cursors when committing a write txn. The doc says this happens, and it avoids cursor tracking when updating mainDB + freeDB.
Rename mdb_cursor_merge() -> mdb_cursors_close() for code reuse, and add a merge option. Simplify its loop a bit.
Factor out cleanup of DBIs.
commit dca0cef678c285c6a173147a70fd8692ce447f62 Author: Hallvard Furuseth hallvard@openldap.org Date: Sat May 4 12:31:31 2013 +0200
Plug txn leak and MDB_NOTLS slot leaks on error.
On mdb_env_copy() error: Abort the txn. On mdb_txn_renew0() error: Release new MDB_NOTLS reader slot.
commit f45d40a88bc10b2d1abab43712469309a26c6d98 Author: Hallvard Furuseth hallvard@openldap.org Date: Sat May 4 10:03:19 2013 +0200
Cleaner "Support mdb_txn_abort(a reset txn)".
Redo 8a562f560edcc6417672df453c4e626dfb4c4024 so !mt_dbxs indicates "txn was reset", so mt_numdbs gets one magic value instead of two.
commit 151c416b460b02cd96502a47189cda19ab651ada Author: Hallvard Furuseth hallvard@openldap.org Date: Sat May 4 10:03:19 2013 +0200
Update fixes for dbi_open/close, ITS#7515.
Reset me_dbflags[dbi] when closing DBI, to get rid of MDB_VALID flag. mdb_env_close(): Re-fix DB-name memleak. DBIs > me_numdbs may exist.
-----------------------------------------------------------------------
Summary of changes: libraries/liblmdb/lmdb.h | 46 ++++++++++---- libraries/liblmdb/mdb.c | 151 ++++++++++++++++++++++++---------------------- 2 files changed, 112 insertions(+), 85 deletions(-)