Skip to content

Commit 0d458ae

Browse files
committed
Fixed mysqlnd compilation in debug mode on windows
1 parent 35f86d2 commit 0d458ae

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ext/mysqlnd/mysqlnd_driver.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,9 @@ static void
9696
mysqlnd_error_list_pdtor(void * pDest)
9797
{
9898
MYSQLND_ERROR_LIST_ELEMENT * element = (MYSQLND_ERROR_LIST_ELEMENT *) pDest;
99+
#ifdef ZTS
99100
TSRMLS_FETCH();
101+
#endif
100102
DBG_ENTER("mysqlnd_error_list_pdtor");
101103
if (element->error) {
102104
mnd_pefree(element->error, TRUE);

0 commit comments

Comments
 (0)