]> 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:41 +0000 (02:59 +0000)
committerYasuo Ohgaki <yohgaki@php.net>
Mon, 27 Mar 2006 02:59:41 +0000 (02:59 +0000)
ext/pgsql/pgsql.c

index 9d4aa6b26dd89eec0fb7fa72371dba7bc7ba0e70..65bc13ea4ef38ad5c484a77df2b3015d2edb159f 100644 (file)
@@ -1521,7 +1521,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;