- 19 Sep, 2011 4 commits
-
-
Hallvard Furuseth authored
Microoptimize IDL search. Use RANGE_<FIRST/LAST> when IDL is known to be a range.
-
Howard Chu authored
-
Howard Chu authored
-
Howard Chu authored
-
- 18 Sep, 2011 5 commits
-
-
Howard Chu authored
Check for stale DBs was in the wrong place.
-
Howard Chu authored
-
Howard Chu authored
-
Howard Chu authored
Allow MIDLs to grow arbitrarily, to allow unlimited number of pages to be freed in one txn.
-
Howard Chu authored
mdb_close() takes an env, not a txn. Also, add check for stale DB records (in case some other process wrote to the DB last).
-
- 17 Sep, 2011 1 commit
-
-
Howard Chu authored
Instead of converting directly to a subDB when the first duplicate item is seen for a key, convert to a subpage instead. Allow the subpage to grow up to the overflow limit, then convert to a subDB. This saves a significant amount of space in a typical slapd index database. Currently we don't convert back to the smaller form if items are later deleted. Probably could do that with some hysteresis, e.g., convert back from subDB to subpage when the size drops below (overflow limit/2). Maybe later.
-
- 15 Sep, 2011 3 commits
-
-
Howard Chu authored
For Windows and MacOSX
-
Howard Chu authored
-
Howard Chu authored
Including the terminating NUL. Good job documenting that, guys.
-
- 14 Sep, 2011 4 commits
-
-
Howard Chu authored
mmap() with FIXEDMAP fails, otherwise things work.
-
Howard Chu authored
-
Howard Chu authored
-
Howard Chu authored
-
- 13 Sep, 2011 2 commits
-
-
Howard Chu authored
-
Howard Chu authored
-
- 12 Sep, 2011 5 commits
-
-
Howard Chu authored
-
Howard Chu authored
-
Howard Chu authored
-
-
Howard Chu authored
Various mistakes when converting from previous data structures. Add a few more debug asserts/sanity checks. Split all "if (foo) return" constructs to separate lines to allow easier breakpoint setting. Add mtest6 for checking mdb_split() behavior. This needs to be expanded to check rebalance/merge cases too.
-
- 11 Sep, 2011 3 commits
-
-
Hallvard Furuseth authored
-
Hallvard Furuseth authored
Lost in C90 compat commit c5dad7a6.
-
Hallvard Furuseth authored
This changes the prototype of mdb_env_set_maxdbs().
-
- 10 Sep, 2011 11 commits
-
-
Hallvard Furuseth authored
-
Hallvard Furuseth authored
Maybe later we'll test txnid wraparound with it defined to ushort.
-
Hallvard Furuseth authored
Use unsigned int for reader counts/max limits, that's the smallest change. Don't need uint32_t when mdb_env_set_maxreaders() takes less. Change prototypes of mdb_env_set_maxreaders,mdb_env_get_maxreaders(). Check the mdb_env_set_maxreaders() argument.
-
Hallvard Furuseth authored
-
Hallvard Furuseth authored
-
Hallvard Furuseth authored
-
Hallvard Furuseth authored
-
Hallvard Furuseth authored
Fix void* pointer arithmetic in cintcmp(). Fix invalid ';'s in declarations after possibly-empty macros.
-
Hallvard Furuseth authored
Parenthesize. Rename GetPageSize -> GET_PAGESIZE since it does not behave like a function (it has a non-pointer output argument).
-
Hallvard Furuseth authored
-
Howard Chu authored
-
- 09 Sep, 2011 2 commits
-
-
Howard Chu authored
-
Howard Chu authored
-