Skip to content

fix(sqlite): wrap PRAGMA failure as RuntimeException, sharpen lazy-connection tests - #26

Merged
Headgent merged 1 commit into
developfrom
fix/261016_sqlite-pragma-error-form
Oct 16, 2026
Merged

Headgent merged 1 commit into
developfrom
fix/261016_sqlite-pragma-error-form

Conversation

@Headgent

Copy link
Copy Markdown
Contributor

Review fixes A3/A4/A7 of v1.4.0. Zielversion: v1.4.1

…nnection tests

- SqLite::createPdoConnection wraps a PDOException from the PRAGMAs in a
  RuntimeException (previous preserved), the handle stays reset; same error
  form as PdoConnection::createPdoConnection and the documented contract.
- LazyConnectionTest: remove the tautological COUNT()+1 assertion; rename the
  healthy-handle pool test to what it checks and add a test that really runs
  the pool health check's reconnect branch (explicit disconnect); add a test
  for the PRAGMA failure (non-database file).
- Skill adapter-dbconnection: document the PRAGMA failure form.

Paket-Pendant: PdoConnection-Fehlerform (src/Connection/PdoConnection.php) — kein neues Konstrukt
@Headgent
Headgent merged commit 62081ea into develop Oct 16, 2026
3 checks passed
@Headgent
Headgent deleted the fix/261016_sqlite-pragma-error-form branch October 16, 2026 00:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant