aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/ecpglib/execute.c
diff options
context:
space:
mode:
authorMichael Meskes <meskes@postgresql.org>2010-01-29 15:57:01 +0000
committerMichael Meskes <meskes@postgresql.org>2010-01-29 15:57:01 +0000
commitf18085659685829f4dd79a7a485d0280001f33df (patch)
treef89240b4b81547a00700162f008812833f8dab37 /src/interfaces/ecpg/ecpglib/execute.c
parent7efd71f843c25423aa4649e427d3b223aa17afaa (diff)
downloadpostgresql-f18085659685829f4dd79a7a485d0280001f33df.tar.gz
postgresql-f18085659685829f4dd79a7a485d0280001f33df.zip
Fixed a few typos in ecpg. Two were in comments, the third made a log output reverse yes and no.
Diffstat (limited to 'src/interfaces/ecpg/ecpglib/execute.c')
-rw-r--r--src/interfaces/ecpg/ecpglib/execute.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/ecpg/ecpglib/execute.c b/src/interfaces/ecpg/ecpglib/execute.c
index ec2ca8915e3..71b32a8128c 100644
--- a/src/interfaces/ecpg/ecpglib/execute.c
+++ b/src/interfaces/ecpg/ecpglib/execute.c
@@ -1,4 +1,4 @@
-/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/execute.c,v 1.89 2010/01/22 14:13:03 meskes Exp $ */
+/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/execute.c,v 1.90 2010/01/29 15:57:01 meskes Exp $ */
/*
* The aim is to get a simpler inteface to the database routines.
@@ -303,7 +303,7 @@ ecpg_is_type_an_array(int type, const struct statement * stmt, const struct vari
return (ECPG_ARRAY_ERROR);
ecpg_type_infocache_push(&(stmt->connection->cache_head), type, isarray, stmt->lineno);
- ecpg_log("ecpg_is_type_an_array on line %d: type (%d); C (%d); array (%s)\n", stmt->lineno, type, var->type, isarray ? "yes" : "no");
+ ecpg_log("ecpg_is_type_an_array on line %d: type (%d); C (%d); array (%s)\n", stmt->lineno, type, var->type, (isarray != ECPG_ARRAY_NONE) ? "yes" : "no");
return isarray;
}