Skip to content

Commit 57dbe02

Browse files
committed
drop unused tsrm_ls
1 parent d1c4fd9 commit 57dbe02

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

ext/mysqlnd/mysqlnd_debug.c

+1-3
Original file line numberDiff line numberDiff line change
@@ -713,9 +713,7 @@ PHPAPI MYSQLND_DEBUG *
713713
mysqlnd_debug_init(const char * skip_functions[] TSRMLS_DC)
714714
{
715715
MYSQLND_DEBUG *ret = calloc(1, sizeof(MYSQLND_DEBUG));
716-
#ifdef ZTS
717-
ret->tsrm_ls = tsrm_get_ls_cache();
718-
#endif
716+
719717
ret->nest_level_limit = 0;
720718
ret->pid = getpid();
721719
zend_stack_init(&ret->call_stack, sizeof(char *));

ext/mysqlnd/mysqlnd_debug.h

-3
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,6 @@ struct st_mysqlnd_debug_methods
4545
struct st_mysqlnd_debug
4646
{
4747
php_stream *stream;
48-
#ifdef ZTS
49-
void ***tsrm_ls;
50-
#endif
5148
unsigned int flags;
5249
unsigned int nest_level_limit;
5350
int pid;

0 commit comments

Comments
 (0)