Skip to content

ext/pdo: Separate core and driver errors - #389

Open
iliaal wants to merge 1 commit into
PHP-8.4from
fix/aph-pdo-core-error-stale-driver-info-c8el-84-work
Open

iliaal wants to merge 1 commit into
PHP-8.4from
fix/aph-pdo-core-error-stale-driver-info-c8el-84-work

Conversation

@iliaal

@iliaal iliaal commented Sep 25, 2026

Copy link
Copy Markdown
Owner

Track error origin across PDO handles and statements so core-only errors do not expose stale driver diagnostics, including transaction callback errors.

Track whether the current PDO or PDOStatement error originated in core.
Suppress driver extended error details for core-only failures, reset the origin
with the existing error-state clears, and cover the SQLite regression.
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