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

From: Date: Mon, 09 May 2005 12:17:26 +0000
Subject: #32116 [Asn->Csd]: mysql_connect() - client_flags broken
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-78804@lists.php.net to get a copy of this message
ID: 32116 Updated by: georg@php.net Reported By: mstuhu at web dot de -Status: Assigned +Status: Closed Bug Type: MySQL related Operating System: Windows 2000 PHP Version: 4.3.10 Assigned To: georg New Comment: This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2005-03-14 22:03:00] sniper@php.net Georg, can you find out why this is disabled on windows? The CVS commit message(s) didn't reveal anything useful.. ------------------------------------------------------------------------ [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 (#78804) next »