Re: Cannot Use DBVERSION_72 With DBLIB In 0.91 Release
"Jackson, Craig" <[email protected]>
| Newsgroups | gmane.comp.db.tds.freetds |
|---|---|
| Message-ID | <[email protected]> |
> > 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