[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 referenced this in commit cf2f7c30a3 on May 17, 2012
  4. jgarzik merged this on May 17, 2012
  5. jgarzik closed this on May 17, 2012

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

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-04-20 00:16 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me