]> granicus.if.org Git - php/commitdiff
Fix ifdef position
authorNikita Popov <nikita.ppv@gmail.com>
Wed, 12 Jun 2019 11:49:57 +0000 (13:49 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Wed, 12 Jun 2019 11:50:30 +0000 (13:50 +0200)
Hopefully fixes the release build...

ext/mysqlnd/mysqlnd_alloc.c

index a1471dd557e51793d68b0a9b194694cbc92fe58a..e4fe274901bbe65b29f06954dfba3f2ed2783953 100644 (file)
@@ -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);
 
        {