Bug #15764: mysql_real_connect client flags: compression & SSL
| From: | ben at traffic-power dot com | Date: | Wed, 27 Feb 2002 19:26:09 +0000 |
| Subject: | Bug #15764: mysql_real_connect client flags: compression & SSL | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-1218@lists.php.net to get a copy of this message | ||
From: ben@traffic-power.com
Operating system: all
PHP version: 4.0CVS-2002-02-27
PHP Bug Type: Feature/Change Request
Bug description: mysql_real_connect client flags: compression & SSL
mysql with a VERSION_ID > 40001 (maybe 40000) supports the following
clientflags
CLIENT_COMPRESS Use compression protocol.
CLIENT_FOUND_ROWS Return the number of found (matched) rows, not the
number of affected rows.
CLIENT_IGNORE_SPACE Allow spaces after function names. Makes all
functions names reserved words.
CLIENT_INTERACTIVE Allow interactive_timeout seconds (instead of
wait_timeout seconds) of inactivity before closing the connection.
CLIENT_NO_SCHEMA Don't allow the db_name.tbl_name.col_name syntax. This
is for ODBC. It causes the parser to generate an error if you use that
syntax, which is useful for trapping bugs in some ODBC programs.
CLIENT_ODBC The client is an ODBC client. This changes mysqld to be more
ODBC-friendly.
CLIENT_SSL Use SSL (encrypted protocol).
It would be nice to add CLIENT_SSL and CLIENT_COMPRESS options to the
php_mysql_do_connect() ...
--
Edit bug report at http://bugs.php.net/?id=15764&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=15764&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=15764&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=15764&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=15764&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=15764&r=support
Expected behavior: http://bugs.php.net/fix.php?id=15764&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=15764&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=15764&r=submittedtwice