svn: /phpdoc/zh/trunk/reference/mysqli/ ini.xml

From: Date: Fri, 16 Nov 2018 18:47:51 +0000
Subject: svn: /phpdoc/zh/trunk/reference/mysqli/ ini.xml
Groups: php.doc.zh 
Request: Send a blank email to doc-zh+get-5630@lists.php.net to get a copy of this message
daijie Fri, 16 Nov 2018 18:47:51 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=346003 Log: Sync with En. Changed paths: U phpdoc/zh/trunk/reference/mysqli/ini.xml Modified: phpdoc/zh/trunk/reference/mysqli/ini.xml =================================================================== --- phpdoc/zh/trunk/reference/mysqli/ini.xml 2018-11-16 18:40:50 UTC (rev 346002) +++ phpdoc/zh/trunk/reference/mysqli/ini.xml 2018-11-16 18:47:51 UTC (rev 346003) @@ -79,10 +79,10 @@ <entry>自PHP 4.3.5起可用。</entry> </row> <row> - <entry><link linkend="ini.mysqli.cache-size">mysqli.cache_size</link></entry> - <entry>"2000"</entry> + <entry><link linkend="ini.mysqli.rollback-on-cached-plink">mysqli.rollback_on_cached_plink</link></entry> + <entry>TRUE</entry> <entry>PHP_INI_SYSTEM</entry> - <entry>自PHP 5.3.0起可用。</entry> + <entry>自 PHP 5.6.0 起可用。</entry> </row> </tbody> </tgroup> @@ -226,16 +226,23 @@ <para> 连接丢失时是否自动重新连接。 </para> + <note> + <simpara>This &php.ini; setting is ignored by the mysqlnd driver.</simpara> + </note> </listitem> </varlistentry> - <varlistentry xml:id="ini.mysqli.cache-size"> + + <varlistentry xml:id="ini.mysqli.rollback-on-cached-plink"> <term> - <parameter>mysqli.cache_size</parameter> - <type>integer</type> + <parameter>mysqli.rollback_on_cached_plink</parameter> + <type>bool</type> </term> <listitem> <para> - &mysqli.available.mysqlnd; + If this option is enabled, closing a persistent connection will rollback + any pending transactions of this connection before it is put back into the + persistent connection pool. Otherwise, pending transactions will be rolled + back only when the connection is reused, or when it is actually closed. </para> </listitem> </varlistentry>

« previous php.doc.zh (#5630) next »