]> granicus.if.org Git - php/commitdiff
Remove unnecessary debug warning (that also broke tests).
authorAdam Harvey <aharvey@php.net>
Thu, 5 Mar 2015 00:33:20 +0000 (00:33 +0000)
committerAdam Harvey <aharvey@php.net>
Thu, 5 Mar 2015 00:33:20 +0000 (00:33 +0000)
ext/pgsql/pgsql.c

index e54e8adbbc1b71591ea4ac8f5aa8ec550212f562..4ea3c7d220aad4bae3e8aed4aa0c2052e3b817eb 100644 (file)
@@ -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");