1
0
mirror of https://github.com/php/php-src.git synced 2026-04-19 05:51:02 +02:00

Fixed hash key in persistent hash

This commit is contained in:
Xinchen Hui
2014-06-19 16:24:24 +08:00
parent 46117aff49
commit 4cc3c7387b

View File

@@ -195,7 +195,7 @@ void mysqli_common_connect(INTERNAL_FUNCTION_PARAMETERS, zend_bool is_real_conne
le.ptr = plist = calloc(1, sizeof(mysqli_plist_entry));
zend_ptr_stack_init_ex(&plist->free_links, 1);
zend_hash_update_mem(&EG(persistent_list), hash_key, &le, sizeof(le));
zend_hash_str_update_mem(&EG(persistent_list), hash_key->val, hash_key->len, &le, sizeof(le));
}
}
}