History log of /PHP-8.2/ext/pdo_mysql/tests/bug71145.phpt (Results 1 – 3 of 3)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# b5a14e6c 11-Jun-2021 Nikita Popov

Port skipif.inc files to EXTENSIONS

# c18b1aea 15-Dec-2020 Nikita Popov

PDO MySQL: Use native types for results

Previously, PDO MySQL only fetched data as native int/float if
native prepared statements were used. This patch updates PDO to
have the same b

PDO MySQL: Use native types for results

Previously, PDO MySQL only fetched data as native int/float if
native prepared statements were used. This patch updates PDO to
have the same behavior for emulated prepared statements, and thus
removes the largest remaining discrepancy between these two modes.

Note that PDO already has a ATTR_STRINGIFY_FETCHES option to control
whether native types are desired or not. The previous output can
be restored by enabling this option.

Most of the tests make use of that option, because this allows the
tests to work under libmysqlclient as well, which currently always
returns string results (independently of whether native or emulated
PS are used).

show more ...

# 49220492 10-Dec-2020 Nikita Popov

Fixed bug #71145

Consume any additional result sets when running INIT_COMMAND.