com php-src: Remove unnecessary debug warning (that also broke tests).: ext/pgsql/pgsql.c
| From: | Adam Harvey | Date: | Thu, 05 Mar 2015 00:33:20 +0000 |
| Subject: | com php-src: Remove unnecessary debug warning (that also broke tests).: ext/pgsql/pgsql.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-85225@lists.php.net to get a copy of this message | ||
Commit: 3253168cde37c2f5592b6898b6ab52dcd6a6bb56
Author: Adam Harvey <aharvey@php.net> Thu, 5 Mar 2015 00:33:20 +0000
Parents: d8b2012ab044b8f7a73066a5244ebc1302aac39f
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=3253168cde37c2f5592b6898b6ab52dcd6a6bb56
Log:
Remove unnecessary debug warning (that also broke tests).
Changed paths:
M ext/pgsql/pgsql.c
Diff:
diff --git a/ext/pgsql/pgsql.c b/ext/pgsql/pgsql.c
index e54e8ad..4ea3c7d 100644
--- a/ext/pgsql/pgsql.c
+++ b/ext/pgsql/pgsql.c
@@ -5745,9 +5745,6 @@ static int php_pgsql_convert_match(const char *str, size_t str_len, const char
*
pcre_free(re);
if (res == PCRE_ERROR_NOMATCH) {
-#ifdef PHP_DEBUG
- php_error_docref(NULL TSRMLS_CC, E_NOTICE, "'%s' does not match with
'%s'", str, regex);
-#endif
return FAILURE;
} else if (res) {
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Cannot exec regex");