summaryrefslogtreecommitdiff
path: root/ext/mysql/php_mysql.c
diff options
context:
space:
mode:
authorDerick Rethans <derick@php.net>2001-11-23 11:46:01 +0000
committerDerick Rethans <derick@php.net>2001-11-23 11:46:01 +0000
commit983e41b7be5f53cbfa8d853ce3ad4352a495ece0 (patch)
tree5d615eec4e2c8ef41ebd3914be1d86e54fdf5c06 /ext/mysql/php_mysql.c
parent506eec88b439982994b290f171a75a6fddb91828 (diff)
downloadphp-git-983e41b7be5f53cbfa8d853ce3ad4352a495ece0.tar.gz
- Reverse slight mistake (patch by Markus Fischer)
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 60f1307bd0..e054203549 100644
--- a/ext/mysql/php_mysql.c
+++ b/ext/mysql/php_mysql.c
@@ -543,7 +543,7 @@ static void php_mysql_do_connect(INTERNAL_FUNCTION_PARAMETERS, int persistent)
list_entry *le;
/* try to find if we already have this link in our persistent list */
- if (new_link || zend_hash_find(&EG(persistent_list), hashed_details, hashed_details_length+1, (void **) &le)==FAILURE) { /* we don't */
+ if (zend_hash_find(&EG(persistent_list), hashed_details, hashed_details_length+1, (void **) &le)==FAILURE) { /* we don't */
list_entry new_le;
if (MySG(max_links)!=-1 && MySG(num_links)>=MySG(max_links)) {