Skip to content

Commit

Permalink
Add UPGRADING note for PDO::inTransaction()
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
nikic committed Nov 25, 2020
1 parent 217f247 commit 306555e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions UPGRADING
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 306555e

Please sign in to comment.