From 306555e11da4fb9f4759e809b6c1961f11dc6e8b Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Wed, 25 Nov 2020 17:28:23 +0100 Subject: [PATCH] Add UPGRADING note for PDO::inTransaction() [ci skip] --- UPGRADING | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/UPGRADING b/UPGRADING index bf41814ee1..3ffcd8fd43 100644 --- a/UPGRADING +++ b/UPGRADING @@ -443,6 +443,12 @@ PHP 8.0 UPGRADE NOTES string $statement, ?int $fetch_mode = null, ...$fetch_mode_args) PDOStatement::setFetchMode(int $mode, ...$params) +- PDO MySQL: + . PDO::inTransaction() now reports the actual transaction state of the + connection, rather than an approximation maintained by PDO. If a query that + is subject to "implicit commit" is executed, PDO::inTransaction() will + subsequently return false, as a transaction is no longer active. + - PDO_ODBC: . The php.ini directive pdo_odbc.db2_instance_name has been removed -- 2.40.0