cvs: php4 /ext/mysqli mysqli_profiler.h
| From: | Sterling Hughes | Date: | Tue, 17 Jun 2003 00:49:24 +0000 |
| Subject: | cvs: php4 /ext/mysqli mysqli_profiler.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-21817@lists.php.net to get a copy of this message | ||
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)\