summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorg Richter <georg@php.net>2003-03-30 13:51:06 +0000
committerGeorg Richter <georg@php.net>2003-03-30 13:51:06 +0000
commit7ff2c00be8e5eaadd21289ddef75c9daba69c035 (patch)
tree567d7995d07887c996649394847156eba5136228
parent8c06829b11d42492e4be4ceb9683f879081ebc64 (diff)
downloadphp-git-7ff2c00be8e5eaadd21289ddef75c9daba69c035.tar.gz
changed macro
-rw-r--r--ext/mysqli/mysqli_profiler.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/mysqli/mysqli_profiler.h b/ext/mysqli/mysqli_profiler.h
index b4d058cd66..24b45133b2 100644
--- a/ext/mysqli/mysqli_profiler.h
+++ b/ext/mysqli/mysqli_profiler.h
@@ -25,7 +25,7 @@
#include "sys/time.h"
#endif
-#define MYSQLI_PROFILER_VERSION 0.9
+#define MYSQLI_PROFILER_PROTOCOL_VERSION 1.0
/* common profiler header struct */
typedef struct {
@@ -153,14 +153,14 @@ if (MyG(profiler))\
char tmp[30];\
sprintf ((char *)&tmp, "%ld", value);\
MYSQLI_PROFILER_ELAPSEDTIME(cmd);\
- cmd##->returnvalue = my_estrdup(tmp);\
+ cmd->returnvalue = my_estrdup(tmp);\
}
#define MYSQLI_PROFILER_COMMAND_RETURNSTRING(cmd, value)\
if (MyG(profiler))\
{\
MYSQLI_PROFILER_ELAPSEDTIME(cmd);\
- cmd##->returnvalue = my_estrdup(value);\
+ cmd->returnvalue = my_estrdup(value);\
}
#define MYSQLI_PROFILER_EXPLAIN(explain,header,mysql,query) php_mysqli_profiler_explain(explain,header, mysql, query)