com php-src: Fix ifdef position: ext/mysqlnd/mysqlnd_alloc. c

From: Date: Wed, 12 Jun 2019 11:50:30 +0000
Subject: com php-src: Fix ifdef position: ext/mysqlnd/mysqlnd_alloc. c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-106730@lists.php.net to get a copy of this message
Commit: cc89d260968746f1048029d711f113d2a9688a13 Author: Nikita Popov <nikita.ppv@gmail.com> Wed, 12 Jun 2019 13:49:57 +0200 Parents: cdefeb715b7a91695407fefd59cdf93815dc0a90 Branches: PHP-7.4 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=cc89d260968746f1048029d711f113d2a9688a13 Log: 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); {

« previous php.cvs (#106730) next »