mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Add an assertion for certainty
This commit is contained in:
parent
bb8234d2bd
commit
43cbeb3bf0
1 changed files with 1 additions and 0 deletions
|
@ -236,6 +236,7 @@ MYSQLND_METHOD(mysqlnd_vio, open_tcp_or_unix)(MYSQLND_VIO * const vio, const MYS
|
|||
zend_resource *le;
|
||||
|
||||
if ((le = zend_hash_str_find_ptr(&EG(persistent_list), hashed_details, hashed_details_len))) {
|
||||
ZEND_ASSERT(le->ptr == net_stream);
|
||||
origin_dtor = EG(persistent_list).pDestructor;
|
||||
/*
|
||||
in_free will let streams code skip destructing - big HACK,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue