svn: /phpdoc/ja/trunk/appendices/migration80/ incompatible.xml

[email protected] (Yoshinari Takaoka)
Newsgroups php.doc.ja
Message-ID <[email protected]>
mumumu                                   Thu, 26 Nov 2020 00:26:34 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=351659

Log:
Add incompatibility note regarding PDO::inTransaction()

Cf. <http://git.php.net/?p=php-src.git;a=commitdiff;h=306555e11da4fb9f4759e809b6c1961f11dc6e8b>.

Changed paths:
    U   phpdoc/ja/trunk/appendices/migration80/incompatible.xml

Modified: phpdoc/ja/trunk/appendices/migration80/incompatible.xml
===================================================================
--- phpdoc/ja/trunk/appendices/migration80/incompatible.xml	2020-11-26 00:18:23 UTC (rev 351658)
+++ phpdoc/ja/trunk/appendices/migration80/incompatible.xml	2020-11-26 00:26:34 UTC (rev 351659)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision: 351500 $ -->
-<!-- EN-Revision: 351543 Maintainer: mumumu Status: ready -->
+<!-- EN-Revision: 351647 Maintainer: mumumu Status: ready -->

 <sect1 xml:id="migration80.incompatible" xmlns:xlink="http://www.w3.org/1999/xlink">
  <title>下位互換性のない変更点</title>
@@ -1292,6 +1292,19 @@
   </para>
  </sect2>

+ <sect2 xml:id="migration80.incompatible.pdo-mysql">
+  <title>PDO MySQL</title>
+
+  <para>
+   <methodname>PDO::inTransaction</methodname> は、
+   PDO が管理しているおおよその情報ではなく、
+   実際のトランザクションの状態を報告するようになりました。
+   クエリが "暗黙のコミット" に依存していた場合、
+   <methodname>PDO::inTransaction</methodname> は後に &false; を返します。
+   なぜなら、トランザクションが既にアクティブではないからです。
+  </para>
+ </sect2>
+
  <sect2 xml:id="migration80.incompatible.pgsql">
   <title>PostgreSQL</title>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.