summaryrefslogtreecommitdiff
path: root/ext/pgsql/pgsql.c
diff options
context:
space:
mode:
authorAdam Harvey <aharvey@php.net>2015-03-05 00:33:20 +0000
committerAdam Harvey <aharvey@php.net>2015-03-05 00:33:20 +0000
commit3253168cde37c2f5592b6898b6ab52dcd6a6bb56 (patch)
tree1c6e2dbf29c0c5a79d870d70dabf776ab1525705 /ext/pgsql/pgsql.c
parentd8b2012ab044b8f7a73066a5244ebc1302aac39f (diff)
downloadphp-git-3253168cde37c2f5592b6898b6ab52dcd6a6bb56.tar.gz
Remove unnecessary debug warning (that also broke tests).
Diffstat (limited to 'ext/pgsql/pgsql.c')
-rw-r--r--ext/pgsql/pgsql.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/ext/pgsql/pgsql.c b/ext/pgsql/pgsql.c
index e54e8adbbc..4ea3c7d220 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");