[freetds] 0.65 (or whatever) TODO

James K. Lowden jklowden at freetds.org
Mon Apr 16 22:21:49 EDT 2007


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



More information about the FreeTDS mailing list