mirror of
https://github.com/php/php-src.git
synced 2025-01-27 14:13:41 +08:00
- Reverse slight mistake (patch by Markus Fischer)
This commit is contained in:
parent
506eec88b4
commit
983e41b7be
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user