mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
drop unused tsrm_ls
This commit is contained in:
parent
d1c4fd934a
commit
57dbe02364
2 changed files with 1 additions and 6 deletions
|
@ -713,9 +713,7 @@ PHPAPI MYSQLND_DEBUG *
|
|||
mysqlnd_debug_init(const char * skip_functions[] TSRMLS_DC)
|
||||
{
|
||||
MYSQLND_DEBUG *ret = calloc(1, sizeof(MYSQLND_DEBUG));
|
||||
#ifdef ZTS
|
||||
ret->tsrm_ls = tsrm_get_ls_cache();
|
||||
#endif
|
||||
|
||||
ret->nest_level_limit = 0;
|
||||
ret->pid = getpid();
|
||||
zend_stack_init(&ret->call_stack, sizeof(char *));
|
||||
|
|
|
@ -45,9 +45,6 @@ struct st_mysqlnd_debug_methods
|
|||
struct st_mysqlnd_debug
|
||||
{
|
||||
php_stream *stream;
|
||||
#ifdef ZTS
|
||||
void ***tsrm_ls;
|
||||
#endif
|
||||
unsigned int flags;
|
||||
unsigned int nest_level_limit;
|
||||
int pid;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue