From 6df395f63a3f4be10b8f5b81dea1b426021ce5ce Mon Sep 17 00:00:00 2001 From: Hiroshi Inoue Date: Mon, 1 Apr 2002 03:01:15 +0000 Subject: 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. --- src/interfaces/odbc/odbcapi30.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/interfaces/odbc/odbcapi30.c') 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 */ -- cgit v1.2.3