TDS 7.1 glitch

John Boia <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Organization STScI
Message-ID <[email protected]>
I setup the freetds-0.83.dev.20110123 package to play with some issues I've
been seeing with varchar(max) on SQL Server 2008.  I got that solved 
(kinda) but
found that the new TDS 7.1 nomenclature is not recognized when I make 
this call:

    ct_con_props( syb_proc_ptr, CS_GET, CS_TDS_VERSION, &ver, CS_UNUSED, 
&outlen );

ver comes back as garbage because there is no CASE statement to catch 
the "71".

You might take a look at ct.c:545 and add CASE 71: and CASE 72: and 
perhaps expand
the enum list at cspublic.h:269 if it's not set in stone.

Thanks!
John Boia
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.