com php-src: Fixed mysqlnd compilation in debug mode on windows: ext/mysqlnd/mysqlnd_driver.c
| From: | Anatoliy Belsky | Date: | Thu, 13 Dec 2012 14:01:01 +0000 |
| Subject: | com php-src: Fixed mysqlnd compilation in debug mode on windows: ext/mysqlnd/mysqlnd_driver.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-70711@lists.php.net to get a copy of this message | ||
Commit: 0d458ae89f7499da51636140c186970dbfdc06ae
Author: Anatoliy Belsky <ab@php.net> Thu, 13 Dec 2012 15:01:01 +0100
Parents: 35f86d24d81b81e8c755e82d0b2e76d36f4a0201
Branches: PHP-5.4 PHP-5.5 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=0d458ae89f7499da51636140c186970dbfdc06ae
Log:
Fixed mysqlnd compilation in debug mode on windows
Changed paths:
M ext/mysqlnd/mysqlnd_driver.c
Diff:
diff --git a/ext/mysqlnd/mysqlnd_driver.c b/ext/mysqlnd/mysqlnd_driver.c
index aeb34a6..1ac9bae 100644
--- a/ext/mysqlnd/mysqlnd_driver.c
+++ b/ext/mysqlnd/mysqlnd_driver.c
@@ -96,7 +96,9 @@ static void
mysqlnd_error_list_pdtor(void * pDest)
{
MYSQLND_ERROR_LIST_ELEMENT * element = (MYSQLND_ERROR_LIST_ELEMENT *) pDest;
+#ifdef ZTS
TSRMLS_FETCH();
+#endif
DBG_ENTER("mysqlnd_error_list_pdtor");
if (element->error) {
mnd_pefree(element->error, TRUE);