georg           Mon Mar  3 17:50:56 2003 EDT

  Modified files:              
    /php4/ext/mysqli    php_mysqli.h 
  Log:
  fixed bug in macro-definition
  
  
Index: php4/ext/mysqli/php_mysqli.h
diff -u php4/ext/mysqli/php_mysqli.h:1.11 php4/ext/mysqli/php_mysqli.h:1.12
--- php4/ext/mysqli/php_mysqli.h:1.11   Mon Mar  3 17:36:47 2003
+++ php4/ext/mysqli/php_mysqli.h        Mon Mar  3 17:50:56 2003
@@ -15,7 +15,7 @@
   | Author: Georg Richter <[EMAIL PROTECTED]>                                |
   +----------------------------------------------------------------------+
 
-  $Id: php_mysqli.h,v 1.11 2003/03/03 22:36:47 georg Exp $ 
+  $Id: php_mysqli.h,v 1.12 2003/03/03 22:50:56 georg Exp $ 
 */
 
 /* A little hack to prevent build break, when mysql is used together with
@@ -299,7 +299,7 @@
 #define MYSQLI_PROFILER_HEADER(query) php_mysqli_profiler_header(query)
 #define MYSQLI_PROFILER_REPORT_RESULT(res) php_mysqli_profiler_result_info(res)
 #define MYSQLI_PROFILER_EXPLAIN(mysql,query) \
-if (!strncasecmp("select", Z_STRVAL_PP(query), 6)){ \
+if (!strncasecmp("select", query, 6)){ \
        php_mysqli_profiler_explain(mysql,query); \
        if (mysql_errno(mysql)) { \
                RETURN_FALSE; \



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to