summaryrefslogtreecommitdiff
path: root/ext/mysql/php_mysql.c
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>2008-03-08 14:59:37 +0000
committerAndrey Hristov <andrey@php.net>2008-03-08 14:59:37 +0000
commitecf84f8b6b24b5b710d535bfcdeb063ef0171f19 (patch)
treeec06c64c9e2d51d5d0a8d6e9463f77a0c54f3502 /ext/mysql/php_mysql.c
parent1c9c9daa78aa119d599c4221472d8457dd286d7c (diff)
downloadphp-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.c2
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