]> granicus.if.org Git - php/commitdiff
remove pg_execute() E_WARNING error when query plan is not defined
authorYasuo Ohgaki <yohgaki@php.net>
Mon, 27 Mar 2006 02:59:55 +0000 (02:59 +0000)
committerYasuo Ohgaki <yohgaki@php.net>
Mon, 27 Mar 2006 02:59:55 +0000 (02:59 +0000)
ext/pgsql/pgsql.c

index 60cd21775762cd225b428a99c88cd09b0397c6a5..34d34f444953209245c5fccb500723b0af7d93c2 100644 (file)
@@ -1520,7 +1520,6 @@ PHP_FUNCTION(pg_execute)
                case PGRES_BAD_RESPONSE:
                case PGRES_NONFATAL_ERROR:
                case PGRES_FATAL_ERROR:
-                       PHP_PQ_ERROR("Query failed: %s", pgsql);
                        PQclear(pgsql_result);
                        RETURN_FALSE;
                        break;