cvs: phpdoc /en/reference/mysql reference.xml

From: Date: Wed, 10 Jul 2002 15:20:09 +0000
Subject: cvs: phpdoc /en/reference/mysql reference.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969347162@lists.php.net to get a copy of this message
georg Wed Jul 10 11:20:09 2002 EDT Modified files: /phpdoc/en/reference/mysql reference.xml Log: documenting new constants (client_flags): MYSQL_CLIENT_SSL, MYSQL_CLIENT_COMPRESS, MYSQL_CLIENT_INTERACTIVE, MYSQL_CLIENT_IGNORE_SPACE Index: phpdoc/en/reference/mysql/reference.xml diff -u phpdoc/en/reference/mysql/reference.xml:1.7 phpdoc/en/reference/mysql/reference.xml:1.8 --- phpdoc/en/reference/mysql/reference.xml:1.7 Fri Jun 21 08:50:58 2002 +++ phpdoc/en/reference/mysql/reference.xml Wed Jul 10 11:20:09 2002 @@ -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> @@ -244,6 +244,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 defined: @@ -253,7 +289,7 @@ <thead> <row> <entry>constant</entry> - <entry>meaning</entry> + <entry>description</entry> </row> </thead> <tbody>

« previous php.doc (#969347162) next »