Skip to Content.
Sympa Menu

freetds - Re: [freetds] Cannot Use DBVERSION_72 With DBLIB In 0.91 Release

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Jackson, Craig" <Craig.Jackson AT cengage.com>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Cannot Use DBVERSION_72 With DBLIB In 0.91 Release
  • Date: Thu, 8 Sep 2011 01:07:00 -0400



> > Maybe a bad term on my part, the code comment said it has "No effect
> > on behavior". It does set the global and that global is not used
> > anywhere from my code search too.

> Confirmed, Ken. dbsetversion() should call tds_set_version(). The
> code you found was probably a placeholder once upon a time that never
> got finished. Most people don't care, you see, because freetds.conf
> and TDSVER cover the same territory. (I wonder how many db-lib
> programs ever called dbsetversion() or dbsetlversion(). I used
> Microsoft's db-lib for over 10 years without setting the version.)

> --jkl

dbsetversion() was/is needed for Sybase to get access to the numeric and
decimal datatypes, according to the documentation. Our code calls it.

DBSETLVERSION() appears to be a Microsoft-ism with similar semantics. Correct?

Craig Jackson







Archive powered by MHonArc 2.6.24.

Top of Page