#47017 [NEW]: mysqlnd not works with MYSQL_CLIENT_COMPRESS flag
From: surfchen at gmail dot com
Operating system: Mac OSX
PHP version: 5.3CVS-2009-01-06 (snap)
PHP Bug Type: MySQL related
Bug description: mysqlnd not works with MYSQL_CLIENT_COMPRESS flag
Description:
------------
If mysql_connect(use mysqlnd as driver) with MYSQL_CLIENT_COMPRESS,the
script blocks on mysql_query calling for a while and output warning.
Reproduce code:
---------------
mysql_connect('127.0.0.1:3306','root','urpig',false,MYSQL_CLIENT_COMPRESS);
mysql_query('SELECT 1');
Expected result:
----------------
no warning
Actual result:
--------------
Warning: mysql_query(): Error while reading SET_OPTION's EOF packet.
PID=20646
--
Edit bug report at http://bugs.php.net/?id=47017&edit=1
--
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=47017&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=47017&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=47017&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=47017&r=fixedcvs
Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=47017&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=47017&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=47017&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=47017&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=47017&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=47017&r=support
Expected behavior: http://bugs.php.net/fix.php?id=47017&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=47017&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=47017&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=47017&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=47017&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=47017&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=47017&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=47017&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=47017&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=47017&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=47017&r=mysqlcfg
Thread (8 messages)
- surfchen at gmail dot com