- 13 Aug, 2013 1 commit
-
-
Quanah Gibson-Mount authored
-
- 12 Aug, 2013 5 commits
-
-
Quanah Gibson-Mount authored
-
Howard Chu authored
Don't compare cursors beyond their depth. (detected by valgrind)
-
Quanah Gibson-Mount authored
-
Howard Chu authored
Should allow for the possibility of future flag combos.
-
Howard Chu authored
If a key has a single existing value, and then a put (MDB_MULTIPLE) is done where the first of the multiple values matches the existing value, the put would return SUCCESS without writing any of the values. Fixed to loop to the next value as intended.
-
- 11 Aug, 2013 2 commits
-
-
Quanah Gibson-Mount authored
-
Quanah Gibson-Mount authored
-
- 10 Aug, 2013 8 commits
-
-
Howard Chu authored
-
Hallvard Furuseth authored
Use double DPRINTF() parenthesis, so varargs macros are not needed. Parenthesize MDB_DEBUG, in case the user defines it as foo || bar.
-
Hallvard Furuseth authored
-
Hallvard Furuseth authored
Also check xcursor instead of DUPSORT, it's slightly briefer.
-
John Hewson authored
-
Salvador Ortiz authored
-
Hallvard Furuseth authored
Checking dirty_list was insufficient after a spill with no named databases and no positioned cursors.
-
-
- 09 Aug, 2013 9 commits
-
-
Quanah Gibson-Mount authored
-
countryString and telephoneNumber were missing
-
Quanah Gibson-Mount authored
-
Quanah Gibson-Mount authored
-
Salvador Ortiz authored
-
Quanah Gibson-Mount authored
-
Howard Chu authored
-
Hallvard Furuseth authored
Return EINVAL only for simple programmer errors.
-
Hallvard Furuseth authored
-
- 08 Aug, 2013 7 commits
-
-
Hallvard Furuseth authored
Ignore parent txn cursors since it is the current txn's dirty_list which will be flushed. But check the current txn also when clearing, since cursors can have pages which are dirty in a parent. Check !mc_xcursor instead of !MDB_DUPSORT. Equivalent for valid data, but a bit safer if the sub-DB flags are corrupt.
-
Hallvard Furuseth authored
Ensure me_pghead has room before removing from spill/dirty list. Don't return pages to me_pghead in nested txns, use mt_free_pgs.
-
Hallvard Furuseth authored
mdb_page_spill(): Don't binary-search the unsorted dirty_list. mdb_page_flush(): Don't overwrite unprocessed dirty_list items.
-
Hallvard Furuseth authored
-
Hallvard Furuseth authored
-
Hallvard Furuseth authored
Pid locking needs a different lockfile-version: MDB_env's with and without pid locking must not coexist, they can sabotage each other. Store MDB_LOCK_FORMAT = (version | "use locking" flag) instead.
-
Hallvard Furuseth authored
Treat unexpected errors as "don't know". Invert Pidcheck return value, so nonzero including error codes = "the process may exist". On Windows: Catch exited but still existing processes. Handle undefined PROCESS_QUERY_LIMITED_INFORMATION. On Unix: don't trust F_GETLK error to leave the input alone, the fcntl() doc seems unclear.
-
- 07 Aug, 2013 2 commits
-
-
Howard Chu authored
-
-
- 05 Aug, 2013 3 commits
-
-
Hallvard Furuseth authored
-
Hallvard Furuseth authored
-
Hallvard Furuseth authored
mdb_copy: Does not copy lockfile. Can trigger file growth. mdb_txn_begin(): Clarify usage restrictions. mdb_drop(): State what to do rather than what will be done, since closing the handle could otherwise be read as happening even at failure.
-
- 02 Aug, 2013 3 commits
-
-
Quanah Gibson-Mount authored
-
-
Quanah Gibson-Mount authored
-