Skip to Content.
Sympa Menu

freetds - RE: [freetds] Fw: patch for codes return in wrong part of odbc struct.

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "ZIGLIO, Frediano, VF-IT" <Frediano.Ziglio AT vodafone.com>
  • To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
  • Subject: RE: [freetds] Fw: patch for codes return in wrong part of odbc struct.
  • Date: Wed, 28 Apr 2004 09:36:08 +0200

...
>
> The patch(es) fix a problem with SQLGetInfo() (src/odbc.c)
> that shows up
> accessing a sqlserver (6.0) DB using the msjet dll's (3.5 and/or 4.0)
> under WINE accessing freeTDS through unixODBC.
> The error that appears is a
>
> "Reserved Error (-7701)
> there is no message for this error. (3000)."
>
> Tracking it down I found odbc.c is returning the right value from
> SQLGetInfo() (for SQL_ODBC_API_CONFORMANCE) but in an
> unexpected field.
> I don't know enough about it to guess if it the return value
> is required
> in the field that is currently used by other applications, so
> the patch
> below simply changes odbc.c to return it in both.
> When SQL_TXN_CAPABLE is the parameter to SQLGetInfo() a
> similar error is generated and the fix is identical.
>

Try attached patch.


freddy77

Attachment: vedi.diff.gz
Description: vedi.diff.gz




Archive powered by MHonArc 2.6.24.

Top of Page