[php-src] PR #22345: Remove stray printf() on invalid DSN version in pdo_dblib
| From: | iliaal | Date: | Tue, 16 Jun 2026 21:42:40 +0000 |
| Subject: | [php-src] PR #22345: Remove stray printf() on invalid DSN version in pdo_dblib | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-36473@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/22345
Author: iliaal
When the connection string specifies an unrecognized TDS version, pdo_dblib_handle_factory() writes
the message to stdout via printf() before raising the proper PDO error, corrupting SAPI output. The
pdo_raise_impl_error() call right below already reports the condition; drop the printf().