summaryrefslogtreecommitdiff
path: root/ext/mysqlnd
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2019-06-12 13:49:57 +0200
committerNikita Popov <nikita.ppv@gmail.com>2019-06-12 13:50:30 +0200
commitcc89d260968746f1048029d711f113d2a9688a13 (patch)
tree459a8ad3036337732f0a62c5f8e490cb13356044 /ext/mysqlnd
parentcdefeb715b7a91695407fefd59cdf93815dc0a90 (diff)
downloadphp-git-cc89d260968746f1048029d711f113d2a9688a13.tar.gz
Fix ifdef position
Hopefully fixes the release build...
Diffstat (limited to 'ext/mysqlnd')
-rw-r--r--ext/mysqlnd/mysqlnd_alloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysqlnd/mysqlnd_alloc.c b/ext/mysqlnd/mysqlnd_alloc.c
index a1471dd557..e4fe274901 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);
{