[php-src] PR #15949: Reproduce unexpected MySQL warnings for binary values
| From: | lcobucci | Date: | Wed, 18 Sep 2024 18:28:19 +0000 |
| Subject: | [php-src] PR #15949: Reproduce unexpected MySQL warnings for binary values | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-28663@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/15949
Author: lcobucci
The prepared statement emulation layer is handling binary content in a way that creates warnings in
MySQL.
When analysing the query logs, we saw that the content sent to the server is missing
0x5C characters when the using emulated prepares.
This introduces a minimal test case that reproduces the issue to aid the solution.
More info: https://github.com/doctrine/dbal/pull/6522#issuecomment-2340939347