svn: /phpdoc/en/trunk/reference/ mysqli/mysqli/options.xml mysqlnd/config.xml
| From: | Christoph Michael Becker | Date: | Tue, 01 Sep 2015 13:57:14 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/ mysqli/mysqli/options.xml mysqlnd/config.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-13676@lists.php.net to get a copy of this message | ||
cmb Tue, 01 Sep 2015 13:57:14 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=337692
Log:
improved documentation of MYSQLI_OPT_NET_(CMD|READ)_BUFFER_SIZE (fixes #70400)
Bug: https://bugs.php.net/70400 (Open) mysqli_options
missing MYSQLI_OPT_NET_CMD_BUFFER_SIZE option
Changed paths:
U phpdoc/en/trunk/reference/mysqli/mysqli/options.xml
U phpdoc/en/trunk/reference/mysqlnd/config.xml
Modified: phpdoc/en/trunk/reference/mysqli/mysqli/options.xml
===================================================================
--- phpdoc/en/trunk/reference/mysqli/mysqli/options.xml 2015-09-01 12:58:09 UTC (rev 337691)
+++ phpdoc/en/trunk/reference/mysqli/mysqli/options.xml 2015-09-01 13:57:14 UTC (rev 337692)
@@ -86,6 +86,20 @@
RSA public key file used with the SHA-256 based authentication.
</entry>
</row>
+ <row>
+
<entry><constant>MYSQLI_OPT_NET_CMD_BUFFER_SIZE</constant></entry>
+ <entry>
+ The size of the internal command/network buffer. Only valid for
+ mysqlnd.
+ </entry>
+ </row>
+ <row>
+
<entry><constant>MYSQLI_OPT_NET_READ_BUFFER_SIZE</constant></entry>
+ <entry>
+ Maximum read chunk size in bytes when reading the body of a MySQL
+ command packet. Only valid for mysqlnd.
+ </entry>
+ </row>
</tbody>
</tgroup>
</table>
Modified: phpdoc/en/trunk/reference/mysqlnd/config.xml
===================================================================
--- phpdoc/en/trunk/reference/mysqlnd/config.xml 2015-09-01 12:58:09 UTC (rev 337691)
+++ phpdoc/en/trunk/reference/mysqlnd/config.xml 2015-09-01 13:57:14 UTC (rev 337692)
@@ -346,11 +346,7 @@
</para>
<para>
The default buffer size is 2048 bytes in PHP 5.3.0. In later
- versions the default is 4096 bytes. The default can changed either
- through the <filename>php.ini</filename> setting
- <literal>mysqlnd.net_cmd_buffer_size</literal> or using
- <literal>mysqli_options(MYSQLI_OPT_NET_CMD_BUFFER_SIZE, int
- size)</literal>.
+ versions the default is 4096 bytes.
</para>
<para>
It is recommended that the buffer size be set to no less than 4096