List:Commits« Previous MessageNext Message »
From:ahristov Date:April 27 2007 2:29pm
Subject:PHP mysqlnd svn commit: r354 - trunk/mysqlnd
View as plain text  
Author: ahristov
Date: 2007-04-27 16:29:17 +0200 (Fri, 27 Apr 2007)
New Revision: 354

Modified:
   trunk/mysqlnd/mysqlnd_palloc.c
Log:
Fix non-ZTS build


Modified: trunk/mysqlnd/mysqlnd_palloc.c
===================================================================
--- trunk/mysqlnd/mysqlnd_palloc.c	2007-04-26 12:15:23 UTC (rev 353)
+++ trunk/mysqlnd/mysqlnd_palloc.c	2007-04-27 14:29:17 UTC (rev 354)
@@ -426,7 +426,9 @@
 		return;
 	}
 
+#ifdef ZTS
 	thread_id = tsrm_thread_id();
+#endif
 	/*
 	  Keep in mind that for pthreads pthread_equal() should be used to be
 	  fully standard compliant. However, the PHP code all-around, incl. the

Thread
PHP mysqlnd svn commit: r354 - trunk/mysqlndahristov27 Apr