diff options
author | Michael Meskes <meskes@postgresql.org> | 2010-01-29 15:57:01 +0000 |
---|---|---|
committer | Michael Meskes <meskes@postgresql.org> | 2010-01-29 15:57:01 +0000 |
commit | f18085659685829f4dd79a7a485d0280001f33df (patch) | |
tree | f89240b4b81547a00700162f008812833f8dab37 /src/interfaces/ecpg/ecpglib/execute.c | |
parent | 7efd71f843c25423aa4649e427d3b223aa17afaa (diff) | |
download | postgresql-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.c | 4 |
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; } |