mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Update mysqli/options.xml
We document the most important missing options, and remove obsolete PHP 5 specific info. Closes GH-245. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351748 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
3e91c2553f
commit
f8d26b8229
1 changed files with 14 additions and 9 deletions
|
@ -57,24 +57,29 @@
|
|||
<tbody>
|
||||
<row>
|
||||
<entry><constant>MYSQLI_OPT_CONNECT_TIMEOUT</constant></entry>
|
||||
<entry>connection timeout in seconds</entry>
|
||||
<entry>Connection timeout in seconds</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><constant>MYSQLI_OPT_READ_TIMEOUT</constant></entry>
|
||||
<entry>command execution result timeout in seconds. Available as of PHP 7.2.0.</entry>
|
||||
<entry>Command execution result timeout in seconds. Available as of PHP 7.2.0.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><constant>MYSQLI_OPT_LOCAL_INFILE</constant></entry>
|
||||
<entry>enable/disable use of <literal>LOAD LOCAL INFILE</literal></entry>
|
||||
<entry>Enable/disable use of <literal>LOAD LOCAL INFILE</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><constant>MYSQLI_INIT_COMMAND</constant></entry>
|
||||
<entry>command to execute after when connecting to MySQL server</entry>
|
||||
<entry>Command to execute after when connecting to MySQL server</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><constant>MYSQLI_SET_CHARSET_NAME</constant></entry>
|
||||
<entry>The charset to be set as default.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><constant>MYSQLI_READ_DEFAULT_FILE</constant></entry>
|
||||
<entry>
|
||||
Read options from named option file instead of <filename>my.cnf</filename>
|
||||
Not supported by mysqlnd.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
|
@ -82,40 +87,40 @@
|
|||
<entry>
|
||||
Read options from the named group from <filename>my.cnf</filename>
|
||||
or the file specified with <constant>MYSQL_READ_DEFAULT_FILE</constant>.
|
||||
Not supported by mysqlnd.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><constant>MYSQLI_SERVER_PUBLIC_KEY</constant></entry>
|
||||
<entry>
|
||||
RSA public key file used with the SHA-256 based authentication.
|
||||
Available since PHP 5.5.0.
|
||||
</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. Available since PHP 5.3.0.
|
||||
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. Available since PHP 5.3.0.
|
||||
command packet. Only valid for mysqlnd.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><constant>MYSQLI_OPT_INT_AND_FLOAT_NATIVE</constant></entry>
|
||||
<entry>
|
||||
Convert integer and float columns back to PHP numbers. Only valid
|
||||
for mysqlnd. Available since PHP 5.3.0.
|
||||
for mysqlnd.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><constant>MYSQLI_OPT_SSL_VERIFY_SERVER_CERT</constant></entry>
|
||||
<entry>
|
||||
Available since PHP 5.3.0.
|
||||
Whether to verify server certificate or not.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
|
|
Loading…
Reference in a new issue