From 3c71ed7e72680ad5cde765978b98bd34bb58089a Mon Sep 17 00:00:00 2001
From: Michael Meskes <meskes@postgresql.org>
Date: Fri, 3 Mar 2000 14:39:26 +0000
Subject: [PATCH] *** empty log message ***

---
 src/interfaces/ecpg/lib/ecpglib.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/interfaces/ecpg/lib/ecpglib.c b/src/interfaces/ecpg/lib/ecpglib.c
index c3c262bea4c..fddb36c3caa 100644
--- a/src/interfaces/ecpg/lib/ecpglib.c
+++ b/src/interfaces/ecpg/lib/ecpglib.c
@@ -691,7 +691,7 @@ ECPGexecute(struct statement * stmt)
 					if (PQresultStatus(query) == PGRES_TUPLES_OK) {
 						isarray = atol((char *)PQgetvalue(query, 0, 0));
 						if (ECPGDynamicType(PQftype(results, act_field)) == SQL3_CHARACTER ||
-						    (PQftype(results, act_field)) == SQL3_CHARACTER_VARYING)
+						    ECPGDynamicType(PQftype(results, act_field)) == SQL3_CHARACTER_VARYING)
 						{
 							/* arrays of character strings are not yet implemented */
 							isarray = false;
@@ -1091,7 +1091,7 @@ ECPGlog(const char *format,...)
  *
  * Copyright (c) 2000, Christof Petig <christof.petig@wtal.de>
  *
- * $Header: /cvsroot/pgsql/src/interfaces/ecpg/lib/Attic/ecpglib.c,v 1.61 2000/03/01 12:49:42 meskes Exp $
+ * $Header: /cvsroot/pgsql/src/interfaces/ecpg/lib/Attic/ecpglib.c,v 1.62 2000/03/03 14:39:26 meskes Exp $
  */
 
 PGconn *ECPG_internal_get_connection(char *name);
-- 
GitLab