- Aug 16, 2013
-
- Aug 14, 2013
-
-
Howard Chu authored
-
Hallvard Furuseth authored
Do not access a long long as an array of longs.
-
- Aug 13, 2013
-
-
Quanah Gibson-Mount authored
-
Howard Chu authored
For RDONLY, don't get lockfile until we know datafile exists. Also, don't try to create a new datafile for me_mfd if someone deleted it after we got me_fd.
-
Howard Chu authored
This reverts commit 87258384.
-
Quanah Gibson-Mount authored
-
Howard Chu authored
-
Quanah Gibson-Mount authored
-
- Aug 12, 2013
-
-
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.
-
- Aug 11, 2013
-
-
Quanah Gibson-Mount authored
-
Quanah Gibson-Mount authored
-
- Aug 10, 2013
-
-
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.
-
-
- Aug 09, 2013
-
-
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
-
- Aug 08, 2013
-
-
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.
-