From: Jos dot Snellings at pandora dot be
Operating system: win32
PHP version: 5.2.4
PHP Bug Type: Compile Failure
Bug description: mysql extension : php_mysql.c compile fails in win32 specific
section
Description:
------------
Two compile failures:
mysql_get_client_version: brackets were omitted in function call.
Code should (probably) be:
PHP_MSHUTDOWN_FUNCTION(mysql)
{
#ifdef PHP_WIN32
unsigned long client_ver = mysql_get_client_version();
/* Can't call mysql_server_end() multiple times prior to 5.0.42 on
Windows */
if ((client_ver > 50042 && client_ver < 50100) || client_ver > 50122) {
mysql_server_end();
}
#else
mysql_server_end();
#endif
UNREGISTER_INI_ENTRIES();
return SUCCESS;
}
--
Edit bug report at http://bugs.php.net/?id=43019&edit=1
--
Try a CVS snapshot (PHP 4.4):
http://bugs.php.net/fix.php?id=43019&r=trysnapshot44
Try a CVS snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=43019&r=trysnapshot52
Try a CVS snapshot (PHP 5.3):
http://bugs.php.net/fix.php?id=43019&r=trysnapshot53
Try a CVS snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=43019&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=43019&r=fixedcvs
Fixed in release:
http://bugs.php.net/fix.php?id=43019&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=43019&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=43019&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=43019&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=43019&r=support
Expected behavior: http://bugs.php.net/fix.php?id=43019&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=43019&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=43019&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=43019&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=43019&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=43019&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=43019&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=43019&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=43019&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=43019&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=43019&r=mysqlcfg