diff options
author | Hiroshi Inoue <inoue@tpf.co.jp> | 2001-08-21 05:21:09 +0000 |
---|---|---|
committer | Hiroshi Inoue <inoue@tpf.co.jp> | 2001-08-21 05:21:09 +0000 |
commit | c2f5d08c11176955c44d0a20c9ce7648157010ab (patch) | |
tree | ea15ac7a857cf3b20fbe996db59527819901915f /src/interfaces/odbc/statement.c | |
parent | 18529514b1564ec79f08b95f2679428ee0fa3470 (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.c | 6 |
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; |