]> granicus.if.org Git - php/commit
MySQLnd: Remove fail thresholds from infallible allocators
authorNikita Popov <nikita.ppv@gmail.com>
Mon, 14 Dec 2020 10:51:30 +0000 (11:51 +0100)
committerNikita Popov <nikita.ppv@gmail.com>
Mon, 14 Dec 2020 10:51:30 +0000 (11:51 +0100)
commit86e317ad80a0b676215775245486f39d9d364458
tree6f4b66b654fa187696915f689225b32c61e60f72
parent2d51c203f09551323ed595514e03ab206fd93129
MySQLnd: Remove fail thresholds from infallible allocators

emalloc() etc are infallibe by design. Having a failure threshold
for them is a violation of the API contract.
ext/mysqlnd/mysqlnd.h
ext/mysqlnd/mysqlnd_alloc.c
ext/mysqlnd/php_mysqlnd.c