From: Adam Harvey Date: Thu, 5 Mar 2015 00:33:20 +0000 (+0000) Subject: Remove unnecessary debug warning (that also broke tests). X-Git-Tag: POST_PHP7_EREG_MYSQL_REMOVALS~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3253168cde37c2f5592b6898b6ab52dcd6a6bb56;p=php Remove unnecessary debug warning (that also broke tests). --- 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");