From db07a3f47febb1e4e268169c7aff43896b31e576 Mon Sep 17 00:00:00 2001 From: Michael Meskes Date: Sun, 19 Aug 2001 09:21:45 +0000 Subject: - Synced preproc.y with gram.y. - Include some patches by Christof Petig . --- src/interfaces/ecpg/lib/execute.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/interfaces/ecpg/lib/execute.c') diff --git a/src/interfaces/ecpg/lib/execute.c b/src/interfaces/ecpg/lib/execute.c index a947e957a86..c9b66bb36f0 100644 --- a/src/interfaces/ecpg/lib/execute.c +++ b/src/interfaces/ecpg/lib/execute.c @@ -812,6 +812,9 @@ ECPGexecute(struct statement * stmt) ECPGraise(stmt->lineno, ECPG_PGSQL, PQerrorMessage(stmt->connection->connection)); } else + /* note: since some of the following code is duplicated in descriptor.c + * it should go into a separate function + */ { var = stmt->outlist; switch (PQresultStatus(results)) @@ -1032,7 +1035,7 @@ ECPGdo(int lineno, const char *connection_name, char *query,...) * * Copyright (c) 2000, Christof Petig * - * $Header: /cvsroot/pgsql/src/interfaces/ecpg/lib/Attic/execute.c,v 1.20 2001/08/10 22:50:10 tgl Exp $ + * $Header: /cvsroot/pgsql/src/interfaces/ecpg/lib/Attic/execute.c,v 1.21 2001/08/19 09:21:44 meskes Exp $ */ PGconn *ECPG_internal_get_connection(char *name); -- cgit v1.2.3