Commit:    0d458ae89f7499da51636140c186970dbfdc06ae
Author:    Anatoliy Belsky <a...@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);


--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to