mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
small refactoring - factour out code from connection establishment.
Add a define for the default authentication protocol - get away from the hardcoded magic value
This commit is contained in:
parent
fde8762e90
commit
5a2578a333
4 changed files with 163 additions and 101 deletions
|
@ -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(); \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue