- 17 Sep, 2012 12 commits
-
-
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
-
- 14 Sep, 2012 1 commit
-
-
Howard Chu authored
-
- 12 Sep, 2012 1 commit
-
-
Howard Chu authored
More for d7935941 ITS#7229
-
- 07 Sep, 2012 1 commit
-
-
Howard Chu authored
Note read-write vs read-only mmap tradeoffs.
-
- 06 Sep, 2012 1 commit
-
-
Howard Chu authored
-
- 05 Sep, 2012 2 commits
-
-
Howard Chu authored
-
Howard Chu authored
-
- 04 Sep, 2012 1 commit
-
-
Howard Chu authored
Fix abort of child txn
-
- 29 Aug, 2012 2 commits
-
-
Hallvard Furuseth authored
-
Hallvard Furuseth authored
-
- 27 Aug, 2012 1 commit
-
-
Howard Chu authored
-
- 26 Aug, 2012 1 commit
-
-
Howard Chu authored
due to a0993354
-
- 24 Aug, 2012 2 commits
-
-
Ondrej Kuznik authored
-
Howard Chu authored
-
- 23 Aug, 2012 2 commits
-
-
Howard Chu authored
Otherwise a process that opens and closes an env more than once will leak mutex handles. (WIN32/BSD)
-
Chris Mikkelson authored
-
- 22 Aug, 2012 1 commit
-
-
Chris Mikkelson authored
-
- 16 Aug, 2012 1 commit
-
-
Howard Chu authored
This is quick and dirty, should be integrated into mdb_stat.
-
- 02 Aug, 2012 1 commit
-
-
Howard Chu authored
-
- 31 Jul, 2012 1 commit
-
-
Howard Chu authored
-
- 26 Jul, 2012 3 commits
-
-
Howard Chu authored
-
Howard Chu authored
Ignore current cursor pos if it's out of bounds.
-
Howard Chu authored
-
- 25 Jul, 2012 1 commit
-
-
Howard Chu authored
-
- 24 Jul, 2012 1 commit
-
-
Howard Chu authored
-
- 23 Jul, 2012 3 commits
-
-
Howard Chu authored
-
Howard Chu authored
Minimizes the number of memcpy's if additional dups are stored.
-
Howard Chu authored
-
- 21 Jul, 2012 1 commit
-
-
Howard Chu authored
Append mode now does no key comparisons, input must be in sorted order. page_split was not updating cursor parents correctly.
-