mysqli DBUG_OFF

From: Date: Fri, 02 Sep 2011 08:43:52 +0000
Subject: mysqli DBUG_OFF
Groups: php.internals 
Request: Send a blank email to internals+get-55079@lists.php.net to get a copy of this message
Hi! I'm seeing this code in mysqli.c: #ifndef DBUG_OFF
        REGISTER_LONG_CONSTANT("MYSQLI_DEBUG_TRACE_ENABLED", 0, CONST_CS | CONST_PERSISTENT);
#else
        REGISTER_LONG_CONSTANT("MYSQLI_DEBUG_TRACE_ENABLED", 1, CONST_CS | CONST_PERSISTENT);
#endif Is this the right setting? It seems to set MYSQLI_DEBUG_TRACE_ENABLED when DBUG_OFF is defined, and all tests for debug fail so I have a suspicion I don't have debug actually compiled in (especially that I don't remember ever compiling it in). -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227

« previous php.internals (#55079) next »