Skip to Content.
Sympa Menu

freetds - [freetds] TDS 7.1 glitch

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: John Boia <jboia AT stsci.edu>
  • To: freetds AT lists.ibiblio.org
  • Subject: [freetds] TDS 7.1 glitch
  • Date: Tue, 25 Jan 2011 08:04:39 -0500

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




Archive powered by MHonArc 2.6.24.

Top of Page