#32116 [Asn]: mysql_connect() - client_flags broken

From: Date: Mon, 14 Mar 2005 21:03:01 +0000
Subject: #32116 [Asn]: mysql_connect() - client_flags broken
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-75326@lists.php.net to get a copy of this message
ID: 32116 Updated by: sniper@php.net 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] sniper@php.net 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

« previous php.bugs (#75326) next »