mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
documenting new constants (client_flags):
MYSQL_CLIENT_SSL, MYSQL_CLIENT_COMPRESS, MYSQL_CLIENT_INTERACTIVE, MYSQL_CLIENT_IGNORE_SPACE git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@88223 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
a2ec213f1b
commit
336f34d4b4
1 changed files with 38 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.7 $ -->
|
||||
<!-- $Revision: 1.8 $ -->
|
||||
<reference id="ref.mysql">
|
||||
<title>MySQL Functions</title>
|
||||
<titleabbrev>MySQL</titleabbrev>
|
||||
|
@ -243,6 +243,42 @@
|
|||
|
||||
<section id="mysql.constants">
|
||||
<title>Predefined constants</title>
|
||||
<para>
|
||||
Since Version 4.3.0 it is possible to specify addtional client flags for the
|
||||
<function>mysql_connect</function> and <function>mysql_pconnect</function>
|
||||
functions. The following constants are defined:
|
||||
<table>
|
||||
<title>MySQL client constants</title>
|
||||
<tgroup cols="2">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>constant</entry>
|
||||
<entry>description</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>MYSQL_CLIENT_COMPRESS</entry>
|
||||
<entry>use compression protocol</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>MYSQL_CLIENT_IGNORE_SPACE</entry>
|
||||
<entry>Allow space after function names</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>MYSQL_CLIENT_INTERACTIVE</entry>
|
||||
<entry>Allow interactive_timeout seconds (instead of wait_timeout) of
|
||||
inactivity before closing the connection.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>MYSQL_CLIENT_SSL</entry>
|
||||
<entry>use SSL (encrypted protocol)</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</table>
|
||||
|
||||
</para>
|
||||
<para>
|
||||
The function <function>mysql_fetch_array</function> uses a constant for
|
||||
the different types of result arrays. The following constants are
|
||||
|
@ -253,7 +289,7 @@
|
|||
<thead>
|
||||
<row>
|
||||
<entry>constant</entry>
|
||||
<entry>meaning</entry>
|
||||
<entry>description</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
|
Loading…
Reference in a new issue