aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/ecpglib/data.c
diff options
context:
space:
mode:
authorMichael Meskes <meskes@postgresql.org>2004-05-05 15:03:04 +0000
committerMichael Meskes <meskes@postgresql.org>2004-05-05 15:03:04 +0000
commite845adf31f8f82cf3245f4c20b4a5d8ac4edfef0 (patch)
tree5b59f23faa15b4ed90c4ca1fb6e647f04d6db3dc /src/interfaces/ecpg/ecpglib/data.c
parenta4ab5bae4280ce40d4b155d29d91ae2ea04f7851 (diff)
downloadpostgresql-e845adf31f8f82cf3245f4c20b4a5d8ac4edfef0.tar.gz
postgresql-e845adf31f8f82cf3245f4c20b4a5d8ac4edfef0.zip
- Fixed bug in adjust_informix that treated arrays as simple variables.
- Synced parser again. - Synced lexer.
Diffstat (limited to 'src/interfaces/ecpg/ecpglib/data.c')
-rw-r--r--src/interfaces/ecpg/ecpglib/data.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/ecpg/ecpglib/data.c b/src/interfaces/ecpg/ecpglib/data.c
index 54d81fd6849..5626b0debcf 100644
--- a/src/interfaces/ecpg/ecpglib/data.c
+++ b/src/interfaces/ecpg/ecpglib/data.c
@@ -1,4 +1,4 @@
-/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/data.c,v 1.22 2003/11/29 19:52:08 pgsql Exp $ */
+/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/data.c,v 1.23 2004/05/05 15:03:04 meskes Exp $ */
#define POSTGRES_ECPG_INTERNAL
#include "postgres_fe.h"
@@ -44,7 +44,7 @@ ECPGget_data(const PGresult *results, int act_tuple, int act_field, int lineno,
char *pval = (char *) PQgetvalue(results, act_tuple, act_field);
int value_for_indicator = 0;
- ECPGlog("ECPGget_data line %d: RESULT: %s offset: %ld array: %d\n", lineno, pval ? pval : "", offset, isarray);
+ ECPGlog("ECPGget_data line %d: RESULT: %s offset: %ld array: %s\n", lineno, pval ? pval : "", offset, isarray?"Yes":"No");
/* pval is a pointer to the value */
/* let's check if it really is an array if it should be one */