sterling Mon Jun 16 20:49:24 2003 EDT
Modified files:
/php4/ext/mysqli mysqli_profiler.h
Log:
remove the wierdness that prevented the compileness
Index: php4/ext/mysqli/mysqli_profiler.h
diff -u php4/ext/mysqli/mysqli_profiler.h:1.3 php4/ext/mysqli/mysqli_profiler.h:1.4
--- php4/ext/mysqli/mysqli_profiler.h:1.3 Tue Jun 10 16:03:33 2003
+++ php4/ext/mysqli/mysqli_profiler.h Mon Jun 16 20:49:24 2003
@@ -137,8 +137,8 @@
#define MYSQLI_PR_RESULT 6
/*** PROFILER MACROS ***/
-#define MYSQLI_PROFILER_STARTTIME(ptr) gettimeofday(&ptr##->header.starttime, NULL)
-#define MYSQLI_PROFILER_ELAPSEDTIME(ptr)
php_mysqli_profiler_timediff(ptr##->header.starttime, &ptr##->header.elapsedtime)
+#define MYSQLI_PROFILER_STARTTIME(ptr) gettimeofday(&ptr->header.starttime, NULL)
+#define MYSQLI_PROFILER_ELAPSEDTIME(ptr)
php_mysqli_profiler_timediff(ptr->header.starttime, &ptr->header.elapsedtime)
#define MYSQLI_PROFILER_LIFETIME(ptr) php_mysqli_profiler_timediff((ptr)->starttime,
&(ptr)->lifetime)
#define MYSQLI_PROFILER_NEW(parent, type, time)
php_mysqli_profiler_new_object((PR_COMMON *)parent, type, time)
#define MYSQLI_PROFILER_COMMAND_START(cmd,parent)\
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php