]> granicus.if.org Git - postgresql/commitdiff
EXECUTE can return NOT FOUND so it should be checked here too.
authorMichael Meskes <meskes@postgresql.org>
Thu, 14 Feb 2008 14:57:29 +0000 (14:57 +0000)
committerMichael Meskes <meskes@postgresql.org>
Thu, 14 Feb 2008 14:57:29 +0000 (14:57 +0000)
src/interfaces/ecpg/preproc/preproc.y

index e49baed354d39a4a62944d25d56862dd1cfa79a3..a49029a27a226f0c8ac121d55dec7cd596132f5c 100644 (file)
@@ -1,4 +1,4 @@
-/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/preproc.y,v 1.339.2.2 2007/11/06 08:32:34 meskes Exp $ */
+/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/preproc.y,v 1.339.2.3 2008/02/14 14:57:29 meskes Exp $ */
 
 /* Copyright comment */
 %{
@@ -815,7 +815,7 @@ stmt:  AlterDatabaseStmt            { output_statement($1, 0, connection); }
                }
                | ECPGExecute
                {
-                       output_statement($1, 0, connection);
+                       output_statement($1, 1, connection);
                }
                | ECPGFree
                {