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

SRombauts / SQLiteCpp / 28478168866
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: 181-feature-statement-iterator
DEFAULT BRANCH: master
Ran 30 Jun 2026 09:51PM 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 09:50PM UTC coverage: 99.689% (+0.001%) from 99.688%
28478168866

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%)

641 of 643 relevant lines covered (99.69%)

34.41 hits per line

Jobs
ID Job ID Ran Files Coverage
1 28478168866.1 30 Jun 2026 09:51PM UTC 14
99.69
GitHub Action Run
Source Files on build 28478168866
  • 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 #28478168866
  • Pull Request #559
  • PR Base - master (#28478122417)
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