com php-src: drop unused tsrm_ls: ext/mysqlnd/mysqlnd_d ebug.c ext/mysqlnd/mysqlnd_debug.h
| From: | Anatol Belski | Date: | Fri, 26 Sep 2014 18:48:41 +0000 |
| Subject: | com php-src: drop unused tsrm_ls: ext/mysqlnd/mysqlnd_d ebug.c ext/mysqlnd/mysqlnd_debug.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-81981@lists.php.net to get a copy of this message | ||
Commit: 57dbe023649746b92bb85ff3114e6b10d26ca134
Author: Anatol Belski <ab@php.net> Fri, 26 Sep 2014 20:48:41 +0200
Parents: d1c4fd934a56f2de932e50a08bf434587600bf33
Branches: native-tls
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=57dbe023649746b92bb85ff3114e6b10d26ca134
Log:
drop unused tsrm_ls
Changed paths:
M ext/mysqlnd/mysqlnd_debug.c
M ext/mysqlnd/mysqlnd_debug.h
Diff:
diff --git a/ext/mysqlnd/mysqlnd_debug.c b/ext/mysqlnd/mysqlnd_debug.c
index 0bbfe01..c8f682b 100644
--- a/ext/mysqlnd/mysqlnd_debug..c
+++ b/ext/mysqlnd/mysqlnd_debug.c
@@ -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 *));
diff --git a/ext/mysqlnd/mysqlnd_debug.h b/ext/mysqlnd/mysqlnd_debug.h
index 463c60c..e8dfeb6 100644
--- a/ext/mysqlnd/mysqlnd_debug.h
+++ b/ext/mysqlnd/mysqlnd_debug.h
@@ -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;