- 12 Apr, 2012 5 commits
-
-
Hallvard Furuseth authored
Define MDB_FDATASYNC() instead of redefining fdatasync().
-
Hallvard Furuseth authored
If the database is opened with MDB_RDONLY or MDB_NOSYNC, instead use the same file descriptor for me_mfd and me_fd. Also factor out Windows/Unix error handling after open.
-
Hallvard Furuseth authored
-
Hallvard Furuseth authored
Get txn->mt_txnid from the meta page instead. Otherwise it and txn->mt_toggle could become inconsistent, since read-only txns fetched both from MDB_txbody without mutex proteciton.
-
Hallvard Furuseth authored
Make DPRINTF usable in if-else. Silence signed vs unsigned warning.
-
- 10 Apr, 2012 2 commits
-
-
Howard Chu authored
Also add mdb_debug/mdb_debug_start to toggle debug output at runtime
-
Howard Chu authored
Was being fooled before because the newly malloc'd block had the same address as the previously freed block.
-
- 09 Apr, 2012 3 commits
-
-
Howard Chu authored
-
Howard Chu authored
Should probably compare nsize to pg_size/4 instead...
-
Howard Chu authored
-
- 07 Apr, 2012 1 commit
-
-
Howard Chu authored
-
- 04 Apr, 2012 1 commit
-
-
Howard Chu authored
-
- 03 Apr, 2012 1 commit
-
-
Howard Chu authored
-
- 30 Mar, 2012 1 commit
-
-
Howard Chu authored
-
- 28 Mar, 2012 4 commits
-
-
Howard Chu authored
Sub-DBs were correct before
-
Howard Chu authored
when replacing an existing item
-
Howard Chu authored
-
Howard Chu authored
Also allow read access to freelist in mdb_cursor_open
-
- 27 Mar, 2012 1 commit
-
-
Howard Chu authored
Allow pages from free list to be used when growing the free list. (Yes, this is self-referential...)
-
- 26 Mar, 2012 1 commit
-
-
Howard Chu authored
don't skip the cursor adjust checks
-
- 21 Mar, 2012 1 commit
-
-
Howard Chu authored
-
- 09 Mar, 2012 5 commits
-
-
Hallvard Furuseth authored
-
Hallvard Furuseth authored
Also line up the code logic a bit.
-
Hallvard Furuseth authored
Delay (MDB_txninfo*) cast to after comparing mmap() with MAP_FAILED. Otherwise, if MAP_FAILED = (void*)-1 but MDB_txninfo requires stricter alignment, the compiler could assume the result is never MAP_FAILED. Also store NULL in env->(me_map, me_txns) after mmap failure.
-
Hallvard Furuseth authored
-
Howard Chu authored
Revealed when gcc optimization is enabled
-
- 07 Mar, 2012 2 commits
-
-
Howard Chu authored
-
Howard Chu authored
-
- 03 Mar, 2012 3 commits
-
-
Hallvard Furuseth authored
-
Hallvard Furuseth authored
-
Howard Chu authored
-
- 21 Feb, 2012 1 commit
-
-
Howard Chu authored
-
- 22 Jan, 2012 1 commit
-
-
Howard Chu authored
-
- 21 Jan, 2012 6 commits
-
-
Howard Chu authored
Track allocations and invalid accesses to freed tmp pages.
-
Howard Chu authored
Fix for failure when committing a txn that is a child of some parent txn.
-
Howard Chu authored
-
Howard Chu authored
Don't compare cursors that aren't deep enough to match the current cursor.
-
Howard Chu authored
-
Howard Chu authored
-
- 15 Nov, 2011 1 commit
-
-
Howard Chu authored
-