diff options
author | Andrey Hristov <andrey@php.net> | 2015-04-07 21:48:08 +0200 |
---|---|---|
committer | Andrey Hristov <andrey@php.net> | 2015-04-07 21:48:08 +0200 |
commit | 871ff65fd161eb9f96577ae0a35599075eabc7cc (patch) | |
tree | 9e4e47c5788d1a0bd83166e0e72246a81179d483 /ext/mysqlnd/mysqlnd_debug.c | |
parent | ed0f134a642e7caed94966450435ed5e2a21f426 (diff) | |
download | php-git-871ff65fd161eb9f96577ae0a35599075eabc7cc.tar.gz |
Rename prefixed mysqlnd functions - prefixed with undescore, which were
accessible through a macro. Also removing the access macros.
These prefixed functions were used, similarly to many functions in Zend2,
because of TSRMLS - the macro was adding the the tsrm pointer to the call.
However, as in Zend3 no TSRM pointers are passed down the stack, because of
the usage of cached TSRM pointer in a real thread local variable, these
macros and prefixed naming have lost their purpose.
Diffstat (limited to 'ext/mysqlnd/mysqlnd_debug.c')
-rw-r--r-- | ext/mysqlnd/mysqlnd_debug.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/mysqlnd/mysqlnd_debug.c b/ext/mysqlnd/mysqlnd_debug.c index 96f78ba503..812963ae1a 100644 --- a/ext/mysqlnd/mysqlnd_debug.c +++ b/ext/mysqlnd/mysqlnd_debug.c @@ -723,8 +723,8 @@ mysqlnd_debug_init(const char * skip_functions[]) /* }}} */ -/* {{{ _mysqlnd_debug */ -PHPAPI void _mysqlnd_debug(const char * mode) +/* {{{ mysqlnd_debug */ +PHPAPI void mysqlnd_debug(const char * mode) { #if PHP_DEBUG MYSQLND_DEBUG * dbg = MYSQLND_G(dbg); |