Skip to Content.
Sympa Menu

freetds - [freetds] ODBC unimplemented functions excluded?

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • 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




Archive powered by MHonArc 2.6.24.

Top of Page