freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
Re: [freetds] ODBC unimplemented functions excluded?
- From: Frediano Ziglio <freddyz77 AT tin.it>
- To: FreeTDS <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] ODBC unimplemented functions excluded?
- Date: 31 Jan 2003 08:28:47 +0100
Il ven, 2003-01-31 alle 02:43, Craig A. Berry ha scritto:
> 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
>
So we don't must rewrite function declaration when we'll implement it.
Also we can see missing functions.
Previous version provide stub for all missed function but Driver Manager
do a best works than our stubs (it can also emulate some functions using
some other) so is best to not provide stub.
freddy77
-
[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.