• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

SRombauts / SQLiteCpp / 28462239166
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: 181-feature-statement-iterator
DEFAULT BRANCH: master
Ran 30 Jun 2026 05:08PM UTC
Jobs 1
Files 14
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

30 Jun 2026 05:07PM UTC coverage: 99.711%. Remained the same
28462239166

Pull #559

github

SRombauts
Fix Savepoint destructor exception-safety and rollback bookkeeping

The destructor caught only SQLite::Exception, so a std::bad_alloc thrown
while building the "ROLLBACK TO SAVEPOINT ..." / "RELEASE SAVEPOINT ..."
strings (or any other non-SQLite exception) escaped the implicitly noexcept
destructor and called std::terminate. Broaden the handler to catch(...).

Track an explicit mbRolledBack state so the destructor issues the minimum
commands: when a rollback already happened (manual rollbackTo(), or the
scope-exit path), it now does a single RELEASE instead of relying on SQLite
tolerating a repeated ROLLBACK TO. The documented auto-rollback semantics
are unchanged.

Add a regression test covering a manual rollbackTo() followed by release().

Fixes SP-02 and SP-03 from the code review.
Pull Request #559: Fix Savepoint destructor exception-safety and rollback bookkeeping

4 of 4 new or added lines in 2 files covered. (100.0%)

691 of 693 relevant lines covered (99.71%)

31.89 hits per line

Jobs
ID Job ID Ran Files Coverage
1 28462239166.1 30 Jun 2026 05:08PM UTC 14
99.71
GitHub Action Run
Source Files on build 28462239166
  • Tree
  • List 14
  • Changed 2
  • Source Changed 2
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #28462239166
  • Pull Request #559
  • PR Base - master (#28451320988)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc