1
0
mirror of https://github.com/php/php-src.git synced 2026-04-04 22:52:40 +02:00
This commit is contained in:
Andrey Hristov
2010-12-28 16:41:39 +00:00
parent cfac5f5b67
commit d8774af125

View File

@@ -274,8 +274,8 @@ static PHP_MSHUTDOWN_FUNCTION(mysqlnd)
static PHP_RINIT_FUNCTION(mysqlnd)
{
if (MYSQLND_G(debug)) {
MYSQLND_G(dbg) = NULL;
struct st_mysqlnd_plugin_trace_log * trace_log_plugin = mysqlnd_plugin_find("debug_trace");
MYSQLND_G(dbg) = NULL;
if (trace_log_plugin) {
MYSQLND_DEBUG * dbg = trace_log_plugin->methods.trace_instance_init(mysqlnd_debug_std_no_trace_funcs TSRMLS_CC);
if (!dbg) {