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>
--
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php