Skip to Content.
Sympa Menu

freetds - Re: [freetds] 0.65 (or whatever) TODO

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "James K. Lowden" <jklowden AT freetds.org>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] 0.65 (or whatever) TODO
  • Date: Mon, 16 Apr 2007 22:21:49 -0400

ZIGLIO, Frediano, VF-IT wrote:
> > I'm happy to use ODBC 3; I'm not sure how.
>
> from src/odbc/unitetests/common.c
>
> if (use_odbc_version3)
> SQLSetEnvAttr(Environment, SQL_ATTR_ODBC_VERSION, (SQLPOINTER)
> (SQL_OV_ODBC3), SQL_IS_UINTEGER);

Committed, thanks!

> I don't understand... why bsqlodbc have to behave well with Sybase's
> driver??

It's a way of finding errors. If bsqlodbc behaves one way with with
Sybase's driver and another way with FreeTDS, it could point to a bug.
Other applications e.g. DBD::ODBC are written to use *any* ODBC driver,
and they sometimes expose bugs, but their complexity makes it hard to
trace what's going on. bsqlodbc is simple, making it a good debugging
tool IMHO, but since I don't know ODBC all that well and mostly use only
FreeTDS, I don't know when I'm writing good ODBC compliant code and when
I'm just adapting to FreeTDS's implementation.

Besides, before I tell you we have a bug, I think it's good to check
another vendor's behavior. ;-)

It would probably be better to test with Microsoft's driver, but I'm down
to zero Window boxes at home and no time for such things at work.

Regards,

--jkl





Archive powered by MHonArc 2.6.24.

Top of Page