- Oct 15, 2012
-
-
Hallvard Furuseth authored
-
Hallvard Furuseth authored
-
Hallvard Furuseth authored
Fix #define _GNU_SOURCE = 1 to match any command line -D_GNU_SOURCE. .gitignore += mdb_copy.
-
Hallvard Furuseth authored
Add flag MDB_ENV_ACTIVE instead of using the state of me_lfd. Require MDB_RDONLY for MDB_ROFS. Swap reader/writer mutex lock.
-
- Oct 13, 2012
-
-
Howard Chu authored
-
- Oct 11, 2012
-
-
Howard Chu authored
-
Howard Chu authored
-
- Oct 03, 2012
-
-
Hallvard Furuseth authored
-
Hallvard Furuseth authored
-
Hallvard Furuseth authored
This can happen even on local filesystems.
-
Hallvard Furuseth authored
-
Hallvard Furuseth authored
-
- Sep 30, 2012
-
-
Howard Chu authored
It only worked if the freelist was already non-empty
-
Howard Chu authored
if it was the only operation in a txn, it would be ignored.
-
- Sep 27, 2012
-
-
Howard Chu authored
More for 48ef27b6 Our definition of "large" data item needs to be smaller to handle more cases where a bad split is possible
-
- Sep 19, 2012
-
-
Howard Chu authored
return whatever the cursor is currently pointing at
-
- Sep 18, 2012
-
-
Howard Chu authored
-
- Sep 17, 2012
-
-
Howard Chu authored
page_split with newindex > split_indx
-
Howard Chu authored
Use explicit MDB_RDONLY flag
-
Hallvard Furuseth authored
-
Hallvard Furuseth authored
-
Hallvard Furuseth authored
Do not try shared lock when closing or after error. Track file lock state to decide. Change meaning of *excl to reflect file lock state.
-
Hallvard Furuseth authored
Drop the sem_unlink() error checks, which could prevent the 2nd unlink. Instead use O_EXCL in sem_open(). This makes "open+close the database" the API for trying to clean away the old semaphores, if they were left behind by a previous run.
-
Hallvard Furuseth authored
-
Hallvard Furuseth authored
Avoid race between numreaders++ and reading numreaders at cleanup. Make the un-mutexed reset of reader table entry, atomic: Reset mr_pid only. Instead check mr_pid != 0 in mdb_page_alloc()'s scan for readers. (txnid_t)-1 as "no ID"-mark avoids a check for mr_txnid != 0. The scan can stop when seeing an old reader.
-
Hallvard Furuseth authored
An open MDB environment does not survive or catch fork(), so repeating getpid() was pointless.
-
Hallvard Furuseth authored
-
Hallvard Furuseth authored
Rename USE_POSIX_SEM to MDB_USE_POSIX_SEM. Separate MDB_FDATASYNC from MDB_USE_POSIX_SEM.
-
Howard Chu authored
Fix typos, error code ranges
-
Howard Chu authored
Allow cursors on read-only txns to be reused with later txns.
-
Howard Chu authored
-
Howard Chu authored
Overwrites the passed in key with the DB's key
-
- Sep 14, 2012
-
-
Howard Chu authored
-
- Sep 12, 2012
-
-
Howard Chu authored
More for d7935941 ITS#7229
-
- Sep 07, 2012
-
-
Howard Chu authored
Note read-write vs read-only mmap tradeoffs.
-
- Sep 06, 2012
-
-
Howard Chu authored
-
- Sep 05, 2012
-
-
Howard Chu authored
-
Howard Chu authored
-
- Sep 04, 2012
-
-
Howard Chu authored
Fix abort of child txn
-
- Aug 29, 2012
-
-
Hallvard Furuseth authored
-