From f8dc95540e6a9b5c8071c3df782998d3ca421946 Mon Sep 17 00:00:00 2001 From: Michael Meskes Date: Thu, 14 Feb 2008 14:57:29 +0000 Subject: [PATCH] EXECUTE can return NOT FOUND so it should be checked here too. --- src/interfaces/ecpg/preproc/preproc.y | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/interfaces/ecpg/preproc/preproc.y b/src/interfaces/ecpg/preproc/preproc.y index e49baed354d..a49029a27a2 100644 --- a/src/interfaces/ecpg/preproc/preproc.y +++ b/src/interfaces/ecpg/preproc/preproc.y @@ -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 {