Re: com php-src: Fix ifdef position: ext/mysqlnd/mysqlnd_alloc.c
| From: | Andrey Hristov | Date: | Wed, 19 Jun 2019 07:42:23 +0000 |
| Subject: | Re: com php-src: Fix ifdef position: ext/mysqlnd/mysqlnd_alloc.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-106875@lists.php.net to get a copy of this message | ||
Nikita,
and here it is...changing working code that doesn't decay and a build failure.
Cheers,
Andrey
On 12.06.19 г. 14:50 ч., Nikita Popov wrote:
Commit: cc89d260968746f1048029d711f113d2a9688a13 Author: Nikita Popov <nikita.ppv@gmail.com> Wed, 12 Jun 2019 13:49:57 +0200Parents: cdefeb715b7a91695407fefd59cdf93815dc0a90 Branches: PHP-7.4 masterLink: http://git.php.net/?p=php-src.git;a=commitdiff;h=cc89d260968746f1048029d711f113d2a9688a13Log: Fix ifdef position Hopefully fixes the release build... Changed paths: M ext/mysqlnd/mysqlnd_alloc.c Diff: diff --git a/ext/mysqlnd/mysqlnd_alloc.c b/ext/mysqlnd/mysqlnd_alloc.c index a1471dd..e4fe274 100644 --- a/ext/mysqlnd/mysqlnd_alloc.c +++ b/ext/mysqlnd/mysqlnd_alloc.c @@ -155,8 +155,8 @@ static void * _mysqlnd_ecalloc(unsigned int nmemb, size_t size MYSQLND_MEM_D) { void *ret; zend_bool collect_memory_statistics = MYSQLND_G(collect_memory_statistics); - zend_long * threshold = &MYSQLND_G(debug_ecalloc_fail_threshold); #if PHP_DEBUG + zend_long * threshold = &MYSQLND_G(debug_ecalloc_fail_threshold); TRACE_ALLOC_ENTER(mysqlnd_ecalloc_name); {