From: Michael Meskes Date: Thu, 14 Feb 2008 14:57:29 +0000 (+0000) Subject: EXECUTE can return NOT FOUND so it should be checked here too. X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=fe5e87b47f1a57d42b11ab667edf2277321f8aec;p=users%2Fbernd%2Fpostgres.git EXECUTE can return NOT FOUND so it should be checked here too. --- diff --git a/src/interfaces/ecpg/preproc/preproc.y b/src/interfaces/ecpg/preproc/preproc.y index d3d0d69126..f341ad558c 100644 --- a/src/interfaces/ecpg/preproc/preproc.y +++ b/src/interfaces/ecpg/preproc/preproc.y @@ -815,7 +815,7 @@ stmt: AlterDatabaseStmt { output_statement($1, 0, connection); } } | ECPGExecute { - output_statement($1, 0, connection); + output_statement($1, 1, connection); } | ECPGFree {