freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: "Craig A. Berry" <craigberry AT mac.com>
- To: freetds AT lists.ibiblio.org
- Subject: [freetds] ODBC unimplemented functions excluded?
- Date: Thu, 30 Jan 2003 19:43:33 -0600
Apologies if this has been discussed before but I haven't been able
to find anything in the archives. It looks like for functions that
are not yet implemented there are nice stubs that would properly
report their unimplemented status at run-time. So why are there
hard-code compile-time exclusions as in the following example from
src/odbc/odbc.c?
#if 0
SQLRETURN SQL_API
SQLNativeSql(SQLHDBC hdbc, SQLCHAR FAR * szSqlStrIn, SQLINTEGER cbSqlStrIn,
SQLCHAR FAR * szSqlStr, SQLINTEGER cbSqlStrMax,
SQLINTEGER FAR * pcbSqlStr)
{
INIT_HDBC;
odbc_errs_add(&dbc->errs, ODBCERR_NOTIMPLEMENTED, "SQLNativeSql:
function not implemented");
return SQL_ERROR;
}
#endif
--
________________________________________
Craig A. Berry
mailto:craigberry AT mac.com
"... getting out of a sonnet is much more
difficult than getting in."
Brad Leithauser
-
[freetds] ODBC unimplemented functions excluded?,
Craig A. Berry, 01/30/2003
-
Re: [freetds] ODBC unimplemented functions excluded?,
Frediano Ziglio, 01/31/2003
- Re: [freetds] ODBC unimplemented functions excluded?, Nick Gorham, 01/31/2003
- <Possible follow-up(s)>
-
RE: [freetds] ODBC unimplemented functions excluded?,
ZIGLIO Frediano, 01/31/2003
- RE: [freetds] ODBC unimplemented functions excluded?, Craig A. Berry, 01/31/2003
-
Re: [freetds] ODBC unimplemented functions excluded?,
Frediano Ziglio, 01/31/2003
Archive powered by MHonArc 2.6.24.