diff --git a/src/interfaces/ecpg/ecpglib/prepare.c b/src/interfaces/ecpg/ecpglib/prepare.c index d5e25a77299..fcaee19db00 100644 --- a/src/interfaces/ecpg/ecpglib/prepare.c +++ b/src/interfaces/ecpg/ecpglib/prepare.c @@ -1,4 +1,4 @@ -/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/prepare.c,v 1.26.2.1 2008/05/12 16:30:17 meskes Exp $ */ +/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/prepare.c,v 1.26.2.2 2008/06/03 20:55:41 tgl Exp $ */ #define POSTGRES_ECPG_INTERNAL #include "postgres_fe.h" @@ -117,7 +117,6 @@ ECPGprepare(int lineno, const char *connection_name, const int questionmarks, co struct statement *stmt; struct prepared_statement *this, *prev; - struct sqlca_t *sqlca = ECPGget_sqlca(); PGresult *query; con = ecpg_get_connection(connection_name);