mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
fixed bug in macro-definition
This commit is contained in:
parent
359d21aa54
commit
338ec7b859
1 changed files with 1 additions and 1 deletions
|
@ -299,7 +299,7 @@ ZEND_END_MODULE_GLOBALS(mysqli)
|
|||
#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; \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue