[FIX] Always check return values of TxnBegin() and TxnCommit() #1295

pull jgarzik wants to merge 1 commits into bitcoin:master from jgarzik:txn-retval changing 3 files +15 −6
  1. jgarzik commented at 5:14 AM on May 14, 2012: contributor

    Checking TxnCommit() return value is obviously needed. Checking TxnBegin() return value is important too; failing to start a transaction could occur for any number of reasons.

  2. Always check return values of TxnBegin() and TxnCommit() 0fb78eae34
  3. jgarzik cross-referenced this on May 14, 2012 from issue Encapsulate BDB environment inside new CDBEnv class by jgarzik
  4. jgarzik cross-referenced this on May 14, 2012 from issue Move hash->CBlockIndex BDB into its own database, blkhash.dat by jgarzik
  5. jgarzik cross-referenced this on May 14, 2012 from issue Split BDB database blkindex.dat into multiple databases by jgarzik
  6. jgarzik referenced this in commit cf2f7c30a3 on May 17, 2012
  7. jgarzik merged this on May 17, 2012
  8. jgarzik closed this on May 17, 2012

  9. coblee referenced this in commit edf62b3903 on Jul 17, 2012
  10. jgarzik deleted the branch on Aug 24, 2014
  11. lateminer referenced this in commit 2dff793305 on Jan 22, 2019
  12. lateminer referenced this in commit e7cd10434f on May 6, 2020
  13. bitcoin locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-05-20 06:56 UTC