mirror of
https://github.com/php/php-src.git
synced 2024-11-28 20:34:29 +08:00
Bug fixed in 5.0.46
This commit is contained in:
parent
704cab59ee
commit
64aad3d210
@ -473,10 +473,10 @@ 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.
|
||||
Can't call mysql_server_end() multiple times prior to 5.0.46 on Windows.
|
||||
PHP bug#41350 MySQL bug#25621
|
||||
*/
|
||||
if ((client_ver >= 50042 && client_ver < 50100) || client_ver > 50122) {
|
||||
if ((client_ver >= 50046 && client_ver < 50100) || client_ver > 50122) {
|
||||
mysql_server_end();
|
||||
}
|
||||
#else
|
||||
|
@ -802,10 +802,10 @@ PHP_MSHUTDOWN_FUNCTION(mysqli)
|
||||
#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.
|
||||
Can't call mysql_server_end() multiple times prior to 5.0.46 on Windows.
|
||||
PHP bug#41350 MySQL bug#25621
|
||||
*/
|
||||
if ((client_ver >= 50042 && client_ver < 50100) || client_ver > 50122) {
|
||||
if ((client_ver >= 50046 && client_ver < 50100) || client_ver > 50122) {
|
||||
mysql_server_end();
|
||||
}
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user