Patches for Berkeley DB version 2.6.5

  1. When looking for an already open log file, do not examine a file name structure if its reference count is 0. This problem cannot cause data corruption, but may cause program failure.
    Download patch file Download
  2. Berkeley DB recovery assumes that there are at least two checkpoints. It was possible for log archival to leave the recovery area with only a single checkpoint.
    Download patch file Download
  3. Version 2.6.5 cannot recover version 2.4.14 log files.
  4. Database file opens after recovery could sometimes fail.
    Download patch file Download
  5. If only a single checkpoint is found, perform recovery from the beginning of the log.
    Download patch file Download
  6. The Btree access method delete-by-key code path did not always detect that a key/data pair was also referenced by a cursor, which could cause a cursor to reference incorrect data.
    Download patch file Download
  7. Concurrent Data Store operations could sometimes fail because write cursors were not correctly identified.
    Download patch file Download
  8. The DB_SET_RANGE flag did not always correctly deal with on-page deleted records in the Btree access method.
    Download patch file Download
  9. If the buffer cache was completely dirty, transaction checkpoints could pin down too many buffers and cause other operations to fail.
    Download patch file Download
  10. In non-threaded applications, change cursors to share a locker ID in order to avoid self-deadlocks.
    Download patch file Download
  11. In the Btree access method, when creating a new record and specifying a dbt.off offset value, the DB_DBT_PARTIAL flag was not handled correctly.
    Download patch file Download
  12. It was possible for the last-known-LSN-on-disk to not be set correctly during recovery, which could cause the loss of recovery's checkpoint record.
    Download patch file Download
  13. Test suite change: generate fail message if environment open doesn't work.
    Download patch file Download
  14. Defend against the possibility that records from multiple log files are present in the log buffer cache.
    Download patch file Download
  15. Reclaim lockers when using lock_vec to release locks.
    Download patch file Download
  16. Re-order subsystem close when closing the environment so that the logging subsystem can potentially flush buffers through the shared memory buffer pool.
    Download patch file Download
  17. Never attempt to grow the shared regions when initially connecting to the Berkeley DB environment.
    Download patch file Download
  18. Update the version numbers from Berkeley DB 2.6.5 to Berkeley DB 2.6.6.
    Apply the following patch to the db-2.6.5 docs/index.html file.  
    Apply the following patch to the db-2.6.5 include/db.h file.  
    Apply the following patch to the db-2.6.5 README file.  
    Apply the following patch to the db-2.6.5 build_win32/libdb.rc file.  
    Apply the following patch to the db-2.6.5 build_vms/db.h file.  
    Apply the following patch to the db-2.6.5 build_win16/db.h file.  
    Apply the following patch to the db-2.6.5 build_win32/db.h file.  

In-Memory Replay Banner