make mysqlnd's tracing API more reusable

This commit is contained in:
Andrey Hristov 2010-01-13 14:06:02 +00:00
parent 6254378830
commit 176e6dd2f2
6 changed files with 74 additions and 42 deletions

View file

@ -126,7 +126,7 @@ static PHP_RINIT_FUNCTION(pdo_mysql)
{
#if PDO_DBG_ENABLED
if (PDO_MYSQL_G(debug)) {
MYSQLND_DEBUG *dbg = mysqlnd_debug_init(TSRMLS_C);
MYSQLND_DEBUG *dbg = mysqlnd_debug_init(mysqlnd_debug_std_no_trace_funcs TSRMLS_CC);
if (!dbg) {
return FAILURE;
}