ID:               32116
 Updated by:       [EMAIL PROTECTED]
 Reported By:      mstuhu at web dot de
 Status:           Assigned
 Bug Type:         MySQL related
 Operating System: Windows 2000
 PHP Version:      4.3.10
-Assigned To:      sniper
+Assigned To:      georg
 New Comment:

Georg, can you find out why this is disabled on windows?
The CVS commit message(s) didn't reveal anything useful..



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

[2005-02-27 14:42:05] [EMAIL PROTECTED]

Looks a lot like the whole compression thingie is disabled
for windows for some reason:

config-win.h:/* #define HAVE_COMPRESS     -- not with PHP, please */ 



------------------------------------------------------------------------

[2005-02-25 23:09:12] mstuhu at web dot de

Description:
------------
None of the function calls below does establish a compressed connection
to a remote mySQL 4.0.21 server:

mysql_connect($server, $user, $password, false, 32);
mysql_connect($server, $user, $password, false,
MYSQL_CLIENT_COMPRESS);
mysql_connect($server, $user, $password, false, CLIENT_COMPRESS);

There's neither a performance boost using these calls nor is the
connection crippled (verified with Etherreal)

Interestingly establishing a compressed connection from a Linux box
with 4.3.10 to the remote mySQL server works fine.

So I suppose there's a bug in the mySQL windows client libs which the
mysql_connect function relies on.



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=32116&edit=1

Reply via email to