diff options
author | andrey <andrey@php.net> | 2012-05-30 15:24:17 +0300 |
---|---|---|
committer | andrey <andrey@php.net> | 2012-05-30 15:24:17 +0300 |
commit | 5a2578a333aaa5f72216f28510705ae0676e9266 (patch) | |
tree | c8833626029f31d4f49cac62b6510cb151d0d657 /ext/mysqlnd/mysqlnd_debug.h | |
parent | fde8762e9034f006826bec12bc6c0aac6b450055 (diff) | |
download | php-git-5a2578a333aaa5f72216f28510705ae0676e9266.tar.gz |
small refactoring - factour out code from connection establishment.
Add a define for the default authentication protocol - get away from
the hardcoded magic value
Diffstat (limited to 'ext/mysqlnd/mysqlnd_debug.h')
-rw-r--r-- | ext/mysqlnd/mysqlnd_debug.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/mysqlnd/mysqlnd_debug.h b/ext/mysqlnd/mysqlnd_debug.h index 3372e739aa..aa5a9e5162 100644 --- a/ext/mysqlnd/mysqlnd_debug.h +++ b/ext/mysqlnd/mysqlnd_debug.h @@ -117,6 +117,7 @@ PHPAPI char * mysqlnd_get_backtrace(uint max_levels, size_t * length TSRMLS_DC); if ((dbg_obj)) { \ dbg_skip_trace = !(dbg_obj)->m->func_enter((dbg_obj), __LINE__, __FILE__, func_name, strlen(func_name)); \ } \ + if (dbg_skip_trace); /* shut compiler's mouth */\ do { \ if ((dbg_obj) && (dbg_obj)->flags & MYSQLND_DEBUG_PROFILE_CALLS) { \ DBG_PROFILE_START_TIME(); \ |