- 23 Oct, 2012 1 commit
-
-
Howard Chu authored
If no data was modified in the txn, mdb_open flag changes were dropped.
-
- 22 Oct, 2012 2 commits
-
-
Howard Chu authored
-
Howard Chu authored
Could return 1 garbage record before actual data, if starting from EOF
-
- 17 Oct, 2012 1 commit
-
-
Howard Chu authored
-
- 16 Oct, 2012 3 commits
-
-
Howard Chu authored
-
Howard Chu authored
-
Howard Chu authored
-
- 15 Oct, 2012 5 commits
-
-
Hallvard Furuseth authored
-
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.
-
- 13 Oct, 2012 1 commit
-
-
Howard Chu authored
-
- 11 Oct, 2012 2 commits
-
-
Howard Chu authored
-
Howard Chu authored
-
- 03 Oct, 2012 5 commits
-
-
Hallvard Furuseth authored
-
Hallvard Furuseth authored
-
Hallvard Furuseth authored
This can happen even on local filesystems.
-
Hallvard Furuseth authored
-
Hallvard Furuseth authored
-
- 30 Sep, 2012 2 commits
-
-
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.
-
- 27 Sep, 2012 1 commit
-
-
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
-
- 19 Sep, 2012 1 commit
-
-
Howard Chu authored
return whatever the cursor is currently pointing at
-
- 18 Sep, 2012 1 commit
-
-
Howard Chu authored
-
- 17 Sep, 2012 15 commits
-
-
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
-