- May 09, 2012
-
-
Howard Chu authored
-
Howard Chu authored
-
- May 06, 2012
-
-
Howard Chu authored
-
- Apr 18, 2012
-
-
Howard Chu authored
-
- Apr 12, 2012
-
-
Hallvard Furuseth authored
Prefix ID, NOID, ID2, IDL, ID2L with 'MDB_'. Also drop bdb from file description.
-
Hallvard Furuseth authored
Put one call in #if MDB_DEBUG. Move DPRINTF(Using meta page #) there.
-
Hallvard Furuseth authored
-
Hallvard Furuseth authored
-
Hallvard Furuseth authored
Define MDB_FDATASYNC() instead of redefining fdatasync().
-
Hallvard Furuseth authored
-
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.
-
- Apr 10, 2012
-
-
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.
-
- Apr 09, 2012
-
-
Howard Chu authored
-
Howard Chu authored
Should probably compare nsize to pg_size/4 instead...
-
Howard Chu authored
-
- Apr 07, 2012
-
-
Howard Chu authored
-
- Apr 04, 2012
-
-
Howard Chu authored
-
- Apr 03, 2012
-
-
Howard Chu authored
-
- Mar 30, 2012
-
-
Howard Chu authored
-
- Mar 28, 2012
-
-
Howard Chu authored
Sub-DBs were correct before
-
Howard Chu authored
when replacing an existing item
-
Howard Chu authored
-
Howard Chu authored
-
Howard Chu authored
Also allow read access to freelist in mdb_cursor_open
-
- Mar 27, 2012
-
-
Howard Chu authored
Allow pages from free list to be used when growing the free list. (Yes, this is self-referential...)
-
- Mar 26, 2012
-
-
Howard Chu authored
don't skip the cursor adjust checks
-
- Mar 21, 2012
-
-
Howard Chu authored
-
- Mar 09, 2012
-
-
Hallvard Furuseth authored
-
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
-
- Mar 07, 2012
-
-
Howard Chu authored
-
Howard Chu authored
-
- Mar 03, 2012
-
-
Hallvard Furuseth authored
-