[php-src] PR #24204: ext/pdo: Avoid a duplicate warning for a rejected statement class

From: Date: Thu, 08 Oct 2026 20:25:16 +0000
Subject: [php-src] PR #24204: ext/pdo: Avoid a duplicate warning for a rejected statement class
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-39270@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/24204 Author: iliaal Setting PDO::ATTR_STATEMENT_CLASS on a persistent connection emits the same warning twice in ERRMODE_WARNING: pdo_raise_impl_error() already reports the rejection, and the PDO_HANDLE_DBH_ERR() after it reports it again. Exception mode was unaffected because the second call sees the pending exception. Complements beee995c905, which kept the previous statement class on this rejection.

« previous php.git-pulls (#39270) next »