- 03 Oct, 2011 2 commits
-
-
Howard Chu authored
Missed a MDB_RESERVE case
-
Howard Chu authored
-
- 02 Oct, 2011 1 commit
-
-
Howard Chu authored
When putting a record, just make space for the data, don't copy it. (Not compatible with MDB_DUPSORT, since the actual data is needed to determine the insert location.)
-
- 01 Oct, 2011 1 commit
-
-
Howard Chu authored
Skip the original cursor that made the change
-
- 30 Sep, 2011 1 commit
-
-
Howard Chu authored
-
- 23 Sep, 2011 2 commits
-
-
Howard Chu authored
-
Howard Chu authored
Create the data file using exactly the given pathname, and the lock file using a suffix on the data file name.
-
- 22 Sep, 2011 2 commits
-
-
Howard Chu authored
-
Howard Chu authored
-
- 21 Sep, 2011 4 commits
-
-
Howard Chu authored
-
Howard Chu authored
-
Howard Chu authored
For any change to a page or node, update all other cursors pointing at the same page (or node). Cursors are now stored in a linked list off their owning transaction. Cursors are all closed when the transaction ends. Cursors in parent transactions are updated when their child transaction commits.
-
Howard Chu authored
-
- 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().
-