mirror of
https://github.com/php/php-src.git
synced 2025-08-17 22:48:57 +02:00
Bug fixed in MySQL 5.0.46
This commit is contained in:
parent
f20d47c541
commit
cd9b7889ec
2 changed files with 4 additions and 4 deletions
|
@ -470,10 +470,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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue