summaryrefslogtreecommitdiff
path: root/src/interfaces/odbc/statement.c
diff options
context:
space:
mode:
authorHiroshi Inoue <inoue@tpf.co.jp>2001-08-21 05:21:09 +0000
committerHiroshi Inoue <inoue@tpf.co.jp>2001-08-21 05:21:09 +0000
commitc2f5d08c11176955c44d0a20c9ce7648157010ab (patch)
treeea15ac7a857cf3b20fbe996db59527819901915f /src/interfaces/odbc/statement.c
parent18529514b1564ec79f08b95f2679428ee0fa3470 (diff)
Fix a lot of compile errors on unix.
Fix '\\' handling for bytea type.
Diffstat (limited to 'src/interfaces/odbc/statement.c')
-rw-r--r--src/interfaces/odbc/statement.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/interfaces/odbc/statement.c b/src/interfaces/odbc/statement.c
index 4459bdb15d3..3ab683d4a04 100644
--- a/src/interfaces/odbc/statement.c
+++ b/src/interfaces/odbc/statement.c
@@ -714,13 +714,15 @@ SC_fetch(StatementClass *self)
static char *func = "SC_fetch";
QResultClass *res = self->result;
int retval,
- result, updret;
+ result;
+#ifdef DRIVER_CURSOR_IMPLEMENT
+ int updret;
+#endif /* DRIVER_CURSOR_IMPLEMENT */
Int2 num_cols,
lf;
Oid type;
char *value;
ColumnInfoClass *ci;
-extern WORD addrow;
/* TupleField *tupleField; */
self->last_fetch_count = 0;