ID:               47017
 Updated by:       [email protected]
 Reported By:      surfchen at gmail dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         MySQL related
 Operating System: Mac OSX
 PHP Version:      5.3CVS-2009-01-06 (snap)
 New Comment:

Is the bug that the connection cannot be used after setting the flag or
that the compressed protocol is not supported? Do you use the
compression and how does it make your application run faster? Is your
MySQL server on the local network or remote?

Thanks you!
Andrey


Previous Comments:
------------------------------------------------------------------------

[2009-01-06 10:45:39] surfchen at gmail dot com

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 this bug report at http://bugs.php.net/?id=47017&edit=1

Reply via email to