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 a2ed03642ca325cfe7685d6df782f3b363f9e46c (commit) via 2ce9ffa003ca190c25b68bd5486635a186f967d8 (commit) via 7e453c97632599a420824c06458353f2a18242aa (commit) via a58fd16ae5823823567d51c33f7ca07d983255f9 (commit) via d69d2ce2307e9d0e2167843935c386b05a869c31 (commit) via 734bc7e6ada2588cddac6a67688421591a895807 (commit) via a8de10d148e99297c9ce4fba7a6ede053c3d6c74 (commit) via 6808abe770d916c395a20718571ff843c903af71 (commit) via c0858e6d93edb062b3f33672c37294c60dfdf069 (commit) via fcb0d09598ace3b47ef95022d2f3b41f531a7d1f (commit) via 753356a38a01eb5ec62ee3b0c3f0100e38b4ecf8 (commit) via e1266bf33174383cec0a1a8a25133cf86bbd51ff (commit) from 1ffb5e1cba200b0e362d1f7a56f09f8ad8081451 (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 a2ed03642ca325cfe7685d6df782f3b363f9e46c Author: Hallvard Furuseth hallvard@openldap.org Date: Wed Dec 11 11:57:13 2013 +0100
Replace MDB_node.mn_offset[], to ease debugging.
commit 2ce9ffa003ca190c25b68bd5486635a186f967d8 Author: Hallvard Furuseth hallvard@openldap.org Date: Wed Dec 11 11:57:13 2013 +0100
Comment MDB_node, mdb_page_unspill, mdb_update_key
commit 7e453c97632599a420824c06458353f2a18242aa Author: Hallvard Furuseth hallvard@openldap.org Date: Wed Dec 11 11:57:13 2013 +0100
Fix mdb_reader_list() and its spec.
It and the MDB_msg_func can now return >= 0 for success. Always return any MDB_msg_func() error result.
commit a58fd16ae5823823567d51c33f7ca07d983255f9 Author: Hallvard Furuseth hallvard@openldap.org Date: Wed Dec 11 11:57:13 2013 +0100
Support dynamic max MDB keysize.
commit d69d2ce2307e9d0e2167843935c386b05a869c31 Author: Hallvard Furuseth hallvard@openldap.org Date: Wed Dec 11 11:57:13 2013 +0100
Raise safe max MDB_MAXKEYSIZE.
Use a sub-DB for DUPSORT item #1/#2 per key if needed: Not a sub- page too big for a node, nor an overflow page (which not all DUPSORT code checks for). Move "insert" code, to avoid non-loop goto upwards.
(This is the commit which needs the change to xdata.mv_size in commit 9d6e4a916367e85ffdf37b1cb7b5cdb7ac0e15b5 "page sizes".)
commit 734bc7e6ada2588cddac6a67688421591a895807 Author: Hallvard Furuseth hallvard@openldap.org Date: Wed Dec 11 11:57:12 2013 +0100
Relax MDB_MAXKEYSIZE for existing data.
Handle keys stored by a liblmdb with a bigger MDB_MAXKEYSIZE. mdb_get/mdb_del(absent key bigger than our MDB_MAXKEYSIZE) now return MDB_NOTFOUND instead of MDB_BAD_VALSIZE.
commit a8de10d148e99297c9ce4fba7a6ede053c3d6c74 Author: Hallvard Furuseth hallvard@openldap.org Date: Wed Dec 11 11:57:12 2013 +0100
ITS#7589 Fix me_nodemax and related node sizes.
Change me_nodemax to not count the mp_ptrs[] entry. That's mostly how it was used. Compare node sizes ">" me_nodemax instead of ">=". The ">=" was a workaround for confusing sizes with and without the mp_ptrs[] entry, but broke for nodes with size (old me_nodemax-1).
Explicitly make me_nodemax even. An odd value could break the comparisons. It was even anyway because MDB_MINKEYS == 2.
commit 6808abe770d916c395a20718571ff843c903af71 Author: Hallvard Furuseth hallvard@openldap.org Date: Wed Dec 11 11:57:12 2013 +0100
ITS#7589 Fix delete(uneven-sized MDB_DUPFIXED data).
Do not give uneven sizes to the sub-page and the node it lives in.
commit c0858e6d93edb062b3f33672c37294c60dfdf069 Author: Hallvard Furuseth hallvard@openldap.org Date: Wed Dec 11 11:57:12 2013 +0100
put(MDB_MULTIPLE): Skip existing item cleanly.
Don't set dkey.mv_size if mdb won't clear it before next iteration.
commit fcb0d09598ace3b47ef95022d2f3b41f531a7d1f Author: Hallvard Furuseth hallvard@openldap.org Date: Wed Dec 11 11:57:12 2013 +0100
Add EVEN(): Micro-optimize "up to multiple of 2".
commit 753356a38a01eb5ec62ee3b0c3f0100e38b4ecf8 Author: Hallvard Furuseth hallvard@openldap.org Date: Wed Dec 11 11:57:12 2013 +0100
Warning cleanup.
Drop unused computed/assigned values. mdb_page_alloc(): Make "mop_len>0 implies mop!=NULL" provable.
commit e1266bf33174383cec0a1a8a25133cf86bbd51ff Author: Hallvard Furuseth hallvard@openldap.org Date: Wed Dec 11 11:57:12 2013 +0100
Clean up mdb_copy.
Support MDB_NOSUBDIR. Catch more errors. Write messages to stderr, not stdout which the data too may be piped to.
-----------------------------------------------------------------------
Summary of changes: libraries/liblmdb/lmdb.h | 10 +- libraries/liblmdb/mdb.c | 240 +++++++++++++++++++++++------------------- libraries/liblmdb/mdb_copy.1 | 10 ++- libraries/liblmdb/mdb_copy.c | 28 ++++-- libraries/liblmdb/midl.c | 2 +- 5 files changed, 166 insertions(+), 124 deletions(-)