From 3253168cde37c2f5592b6898b6ab52dcd6a6bb56 Mon Sep 17 00:00:00 2001 From: Adam Harvey Date: Thu, 5 Mar 2015 00:33:20 +0000 Subject: [PATCH] Remove unnecessary debug warning (that also broke tests). --- ext/pgsql/pgsql.c | 3 --- 1 file changed, 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"); -- 2.50.1