mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-10 07:04:03 +00:00
be37d2fc7b
- Give maintainership to submitter - Add LICENSE - Switch to OptionsNG - Switch pkg-plist to PORTDOCS and PLIST_FILES PR: ports/174885 Submitted by: Po-Chien Lin <linpc@cs.nctu.edu.tw>
33 lines
985 B
C
33 lines
985 B
C
--- odbcapi.c.orig 2009-01-26 23:29:21.000000000 +0600
|
|
+++ odbcapi.c 2009-01-26 23:30:15.000000000 +0600
|
|
@@ -1121,11 +1121,7 @@
|
|
HSTMT hstmt,
|
|
SQLUSMALLINT fFetchType,
|
|
SQLLEN irow,
|
|
-#if defined(WITH_UNIXODBC) && (SIZEOF_VOID_P < 8)
|
|
- SQLROWSETSIZE *pcrow,
|
|
-#else
|
|
SQLULEN *pcrow,
|
|
-#endif /* WITH_UNIXODBC */
|
|
SQLUSMALLINT *rgfRowStatus)
|
|
{
|
|
RETCODE ret;
|
|
@@ -1135,17 +1131,7 @@
|
|
ENTER_STMT_CS(stmt);
|
|
SC_clear_error(stmt);
|
|
StartRollbackState(stmt);
|
|
-#ifdef WITH_UNIXODBC
|
|
- {
|
|
- SQLULEN retrieved;
|
|
-
|
|
- ret = PGAPI_ExtendedFetch(hstmt, fFetchType, irow, &retrieved, rgfRowStatus, 0, SC_get_ARDF(stmt)->size_of_rowset_odbc2);
|
|
- if (pcrow)
|
|
- *pcrow = retrieved;
|
|
- }
|
|
-#else
|
|
ret = PGAPI_ExtendedFetch(hstmt, fFetchType, irow, pcrow, rgfRowStatus, 0, SC_get_ARDF(stmt)->size_of_rowset_odbc2);
|
|
-#endif /* WITH_UNIXODBC */
|
|
stmt->transition_status = STMT_TRANSITION_EXTENDED_FETCH;
|
|
ret = DiscardStatementSvp(stmt, ret, FALSE);
|
|
LEAVE_STMT_CS(stmt);
|