Skip to content

Commit 306555e

Browse files
committed
Add UPGRADING note for PDO::inTransaction()
[ci skip]
1 parent 217f247 commit 306555e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

UPGRADING

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -443,6 +443,12 @@ PHP 8.0 UPGRADE NOTES
443443
string $statement, ?int $fetch_mode = null, ...$fetch_mode_args)
444444
PDOStatement::setFetchMode(int $mode, ...$params)
445445

446+
- PDO MySQL:
447+
. PDO::inTransaction() now reports the actual transaction state of the
448+
connection, rather than an approximation maintained by PDO. If a query that
449+
is subject to "implicit commit" is executed, PDO::inTransaction() will
450+
subsequently return false, as a transaction is no longer active.
451+
446452
- PDO_ODBC:
447453
. The php.ini directive pdo_odbc.db2_instance_name has been removed
448454

0 commit comments

Comments
 (0)