diff options
author | Andrey Hristov <andrey@php.net> | 2008-03-08 14:59:37 +0000 |
---|---|---|
committer | Andrey Hristov <andrey@php.net> | 2008-03-08 14:59:37 +0000 |
commit | ecf84f8b6b24b5b710d535bfcdeb063ef0171f19 (patch) | |
tree | ec06c64c9e2d51d5d0a8d6e9463f77a0c54f3502 /ext/mysql/php_mysql.c | |
parent | 1c9c9daa78aa119d599c4221472d8457dd286d7c (diff) | |
download | php-git-ecf84f8b6b24b5b710d535bfcdeb063ef0171f19.tar.gz |
Fix introduced in 5.0.46, not in 5.0.42
Diffstat (limited to 'ext/mysql/php_mysql.c')
-rw-r--r-- | ext/mysql/php_mysql.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysql/php_mysql.c b/ext/mysql/php_mysql.c index 68082b2131..6184d44260 100644 --- a/ext/mysql/php_mysql.c +++ b/ext/mysql/php_mysql.c @@ -419,7 +419,7 @@ 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) { + if ((client_ver >= 50046 && client_ver < 50100) || client_ver > 50122) { mysql_server_end(); } #else |