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 97ed96206d10c29c5612ef38db9c37de23005871 (commit) via b9275c999117061fcbfce97e99600c1074c3e610 (commit) via 7e620a34a28e200394dcf25839021c653449bd29 (commit) via d903bed218ce19c4ef2e95ec9560169512212747 (commit) via 6b56e0fab1945522864cb48cdbbf607ef0900856 (commit) via 0201b9002cfc5396e229fae2757a52cfb719e121 (commit) via 52e3adbdec847e3f8cd6ddcd35a7e4b94cd40e9f (commit) from bb36bdcd1c22d1fbc6575452ef5c9112715ab083 (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 97ed96206d10c29c5612ef38db9c37de23005871 Author: Hallvard Furuseth hallvard@openldap.org Date: Tue Nov 27 23:56:47 2012 +0100
mdb_env_sync(,force=1): Override MDB_MAPASYNC.
With MDB_MAPASYNC, the API provided no way to ensure full sync.
commit b9275c999117061fcbfce97e99600c1074c3e610 Author: Hallvard Furuseth hallvard@openldap.org Date: Tue Nov 27 23:56:47 2012 +0100
mdb_cursor_dbi(): Assume valid args.
It returned 0, which is the freelist DBI and is valid for a few uses.
commit 7e620a34a28e200394dcf25839021c653449bd29 Author: Hallvard Furuseth hallvard@openldap.org Date: Tue Nov 27 23:56:47 2012 +0100
API change: mdb_drop() only accepts del=0 or 1.
This allows for other flag values in the future.
commit d903bed218ce19c4ef2e95ec9560169512212747 Author: Hallvard Furuseth hallvard@openldap.org Date: Tue Nov 27 23:56:47 2012 +0100
API change: mdb_env_set_maxdbs(, *named* DBs).
Let the user specify the number of databases he will actually use. Adding 2 for FREE_DBI and MAIN_DBI is an internal matter.
commit 6b56e0fab1945522864cb48cdbbf607ef0900856 Author: Hallvard Furuseth hallvard@openldap.org Date: Tue Nov 27 23:56:47 2012 +0100
ITS#7453 Fix reset of MDB_NOSYNC/MDB_NOMETASYNC.
mdb_env_open() with these flags did not open a synchronizing file descriptor. Thus disabling them later did not work.
commit 0201b9002cfc5396e229fae2757a52cfb719e121 Author: Hallvard Furuseth hallvard@openldap.org Date: Tue Nov 27 23:56:47 2012 +0100
Tweak MDB_FIXEDMAP handling.
Drop mmap()'s MAP_FIXED flag, so it returns another address instead of unmapping existing overlapping pages. Verify the returned address.
commit 52e3adbdec847e3f8cd6ddcd35a7e4b94cd40e9f Author: Hallvard Furuseth hallvard@openldap.org Date: Tue Nov 27 23:56:47 2012 +0100
Renumber MDB_NOSUBDIR. Check mdb_env_open() flags.
MDB_NOSUBDIR was == MDB_REVERSEKEY. That affected the freelist: Env flags are stored in mm_flags alias mm_dbs[FREE_DBI].md_flags.
It stays a persistent flag, in case mdb_env_open someday wants to pick/verify which lockfile to use with the datafile.
Catch bad flags so they will no longer make it into the data file.
-----------------------------------------------------------------------
Summary of changes: libraries/libmdb/mdb.c | 44 ++++++++++++++++++++++++++++---------------- libraries/libmdb/mdb.h | 24 +++++++++++++++--------- 2 files changed, 43 insertions(+), 25 deletions(-)