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 e3f6c152c5ab1a9810a1d3ed7de9a3252ff9e35a (commit) via 2980bd30f5e7dcb5918ac26d82f658ddb05eabe7 (commit) via 31cfca9316da2b2b901d384811d80a328eefbcdb (commit) via 7bdb5be0b572a4ff952456a2faca9ecb7a6e8786 (commit) via 52cb8b3417386e2cacee98401a797d8dd1a81020 (commit) via 8e1d10e82887a0b8fdea6151c73377f9cabeb517 (commit) via a3b3482854698f520135a49de930df4b788694dd (commit) via bc48a40621ee26f15503dbd16321c972648b4769 (commit) via cfe262dce9a0be4791db4720aa308d5a6ecb8888 (commit) via 5b96d68fafd1732790ac5f887e5050033a48da42 (commit) via 5b21307f29ccda563e5f0d82294083c841b0e927 (commit) via 3335b2583490f10c3f273391b48e1e2987022f4c (commit) from 912e09fd04e0512e6f764176a4a0a2ab009c87d1 (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 e3f6c152c5ab1a9810a1d3ed7de9a3252ff9e35a Author: Hallvard Furuseth hallvard@openldap.org Date: Mon Sep 23 20:21:11 2013 +0200
Drop unneeded code.
MDB_txn.mt_toggle: Use (mt_txnid & 1) instead. Drop error checks which will be repeated. mdb_cursor_set(): Turn assert into if/return to match the above. mdb_cursor_del(): 'flags' are now used as bitflags.
commit 2980bd30f5e7dcb5918ac26d82f658ddb05eabe7 Author: Hallvard Furuseth hallvard@openldap.org Date: Mon Sep 23 20:21:11 2013 +0200
Clean up and simplify mdb_page_search().
Only named DBs can have DB_STALE, and they do not use MDB_PS_MODIFY. Replace magic key values with flags. Drop duplicated comments at mdb_page_search_root() vs. mdb_page_search(), and rephrase.
commit 31cfca9316da2b2b901d384811d80a328eefbcdb Author: Hallvard Furuseth hallvard@openldap.org Date: Mon Sep 23 20:20:42 2013 +0200
Tweak MDB_DEBUG output
commit 7bdb5be0b572a4ff952456a2faca9ecb7a6e8786 Author: Hallvard Furuseth hallvard@openldap.org Date: Mon Sep 23 20:20:05 2013 +0200
Rename SWAP() to avoid conflict with sqlightning.
Happened since sqlightning #includes mdb.c, midl.c.
commit 52cb8b3417386e2cacee98401a797d8dd1a81020 Author: Hallvard Furuseth hallvard@openldap.org Date: Mon Sep 23 20:13:27 2013 +0200
mdb_page_unspill(): Rename local vars.
The names have caused bugs, "txn" was treated as the current transaction.
commit 8e1d10e82887a0b8fdea6151c73377f9cabeb517 Author: Hallvard Furuseth hallvard@openldap.org Date: Mon Sep 23 20:13:27 2013 +0200
ITS#7515 Fix mdb_page_unspill() in nested txn.
Malloc a page in this txn, not in a parent.
commit a3b3482854698f520135a49de930df4b788694dd Author: Hallvard Furuseth hallvard@openldap.org Date: Mon Sep 23 20:13:27 2013 +0200
ITS#7515 Fix mdb_txn_commit(nested txn with spills).
Catch malloc error. Fix hunt for dirty vs spilled pages: Don't leave x at a deleted pageno. Cleanup: Factor out variables, squash pages already marked for deletion.
commit bc48a40621ee26f15503dbd16321c972648b4769 Author: Hallvard Furuseth hallvard@openldap.org Date: Mon Sep 23 20:13:27 2013 +0200
ITS#7515 Fix mt_dirty_room in nested txns.
Fix description & code: Also ignore dirty pages hidden by spilled pages, as they won't merge into our dirty_list. Update it in mdb_page_flush() instead of mdb_page_spill().
commit cfe262dce9a0be4791db4720aa308d5a6ecb8888 Author: Hallvard Furuseth hallvard@openldap.org Date: Mon Sep 23 20:13:27 2013 +0200
ITS#7515 mdb_pages_xkeep(): Careful about xcursors.
Don't prod sub-pages or pages referring to uninitialized xcursors.
commit 5b96d68fafd1732790ac5f887e5050033a48da42 Author: Hallvard Furuseth hallvard@openldap.org Date: Mon Sep 23 20:13:27 2013 +0200
mdb_pages_xkeep(): Reformat, use common flag mask
commit 5b21307f29ccda563e5f0d82294083c841b0e927 Author: Hallvard Furuseth hallvard@openldap.org Date: Mon Sep 23 20:09:47 2013 +0200
Update MDB documentation and comments.
commit 3335b2583490f10c3f273391b48e1e2987022f4c Author: Hallvard Furuseth hallvard@openldap.org Date: Mon Sep 23 20:07:29 2013 +0200
ITS#7682 mdb_env_copy(): Avoid Linux O_DIRECT bug.
Use fcntl() to set the flag. Linux open(,O_DIRECT...) can create the file even on failure, if the filesystem lacks O_DIRECT support.
-----------------------------------------------------------------------
Summary of changes: libraries/liblmdb/lmdb.h | 18 ++- libraries/liblmdb/mdb.c | 339 ++++++++++++++++++++-------------------------- libraries/liblmdb/midl.c | 12 +- libraries/liblmdb/midl.h | 2 +- 4 files changed, 163 insertions(+), 208 deletions(-)