summaryrefslogtreecommitdiff
path: root/ext/mysqli/mysqli_report.c
diff options
context:
space:
mode:
authorGeorg Richter <georg@php.net>2004-03-16 21:43:25 +0000
committerGeorg Richter <georg@php.net>2004-03-16 21:43:25 +0000
commite3077eadef60213c9a1e1de425f5da7ed6366f60 (patch)
tree759f7e19a480fd5a5f5d9c92137038a78b52f954 /ext/mysqli/mysqli_report.c
parentf66c62cef8d3ba4ff3fdd26e63f63819618e207b (diff)
downloadphp-git-e3077eadef60213c9a1e1de425f5da7ed6366f60.tar.gz
fixed stmt->stmt->query which was removed in libmysql 4.1.2
added query buffer in internal stmt structure to copy string after prepare
Diffstat (limited to 'ext/mysqli/mysqli_report.c')
-rw-r--r--ext/mysqli/mysqli_report.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysqli/mysqli_report.c b/ext/mysqli/mysqli_report.c
index c344fad434..ac7725f92a 100644
--- a/ext/mysqli/mysqli_report.c
+++ b/ext/mysqli/mysqli_report.c
@@ -62,7 +62,7 @@ void php_mysqli_report_index(char *query, unsigned int status TSRMLS_DC) {
} else {
return;
}
- php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s used in query %s", index, query);
+ php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s used in query/prepared statement %s", index, query);
#else
return;
#endif