mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
make mysqlnd's tracing API more reusable
This commit is contained in:
parent
6254378830
commit
176e6dd2f2
6 changed files with 74 additions and 42 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue