From 336f34d4b44325a7ba7fd3cdd72ac0110b1b3ef8 Mon Sep 17 00:00:00 2001 From: Georg Richter Date: Wed, 10 Jul 2002 15:20:09 +0000 Subject: [PATCH] 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 --- reference/mysql/reference.xml | 40 +++++++++++++++++++++++++++++++++-- 1 file changed, 38 insertions(+), 2 deletions(-) diff --git a/reference/mysql/reference.xml b/reference/mysql/reference.xml index c1af3b2148..3092428ad6 100644 --- a/reference/mysql/reference.xml +++ b/reference/mysql/reference.xml @@ -1,5 +1,5 @@ - + MySQL Functions MySQL @@ -243,6 +243,42 @@
Predefined constants + + Since Version 4.3.0 it is possible to specify addtional client flags for the + mysql_connect and mysql_pconnect + functions. The following constants are defined: + + MySQL client constants + + + + constant + description + + + + + MYSQL_CLIENT_COMPRESS + use compression protocol + + + MYSQL_CLIENT_IGNORE_SPACE + Allow space after function names + + + MYSQL_CLIENT_INTERACTIVE + Allow interactive_timeout seconds (instead of wait_timeout) of + inactivity before closing the connection. + + + MYSQL_CLIENT_SSL + use SSL (encrypted protocol) + + + +
+ +
The function mysql_fetch_array uses a constant for the different types of result arrays. The following constants are @@ -253,7 +289,7 @@ constant - meaning + description