summaryrefslogtreecommitdiff
path: root/src/interfaces/odbc/odbcapi30.c
diff options
context:
space:
mode:
authorHiroshi Inoue <inoue@tpf.co.jp>2002-04-01 03:01:15 +0000
committerHiroshi Inoue <inoue@tpf.co.jp>2002-04-01 03:01:15 +0000
commit6df395f63a3f4be10b8f5b81dea1b426021ce5ce (patch)
treec0d27c22957c562ea9805343833f0f46c30fea93 /src/interfaces/odbc/odbcapi30.c
parent87b08080205833fe9ebdb40ac779be0abf900157 (diff)
1) Add rollback functionality to updatable cursors.
2) Implement some options for SQLGetDescField(). 3) Handle *Inifinity* timestamp for SQL_C_CHAR type output. 4) Separate Unicode conversions from common implementations. 5) Improve internal parse_statement() function.
Diffstat (limited to 'src/interfaces/odbc/odbcapi30.c')
-rw-r--r--src/interfaces/odbc/odbcapi30.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/interfaces/odbc/odbcapi30.c b/src/interfaces/odbc/odbcapi30.c
index 0e9b63a3049..8bcb1cab146 100644
--- a/src/interfaces/odbc/odbcapi30.c
+++ b/src/interfaces/odbc/odbcapi30.c
@@ -235,7 +235,8 @@ SQLGetDiagField(SQLSMALLINT HandleType, SQLHANDLE Handle,
SQLSMALLINT *StringLength)
{
mylog("[[SQLGetDiagField]] Handle=(%u,%x) Rec=%d Id=%d\n", HandleType, Handle, RecNumber, DiagIdentifier);
- return SQL_ERROR;
+ return PGAPI_GetDiagField(HandleType, Handle, RecNumber, DiagIdentifier,
+ DiagInfo, BufferLength, StringLength);
}
/* SQLError -> SQLDiagRec */