Skip to Content.
Sympa Menu

freetds - [freetds] Setting tds version to 8.0 (0x701)

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Fulvio Casali <fulvioc AT webcollective.coop>
  • To: freetds AT lists.ibiblio.org
  • Subject: [freetds] Setting tds version to 8.0 (0x701)
  • Date: Tue, 23 Nov 2010 19:47:03 -0800

Hi all,

I'm not sure if this is an issue, but I thought I'd bring to your attention
a discrepancy I noticed between 0.82 and 0.83.dev.20101122.
I set the TDSDUMPCONFIG environment variable, and ran tsql -S MYDSN -U
myuser -P mypass, and then looked at the dump config file, and compared it
with the one generated by 0.82.

The following two lines are repeated both in the "Looking for section
global" part, as well as in the "Looking for section MYDSN" part:

config.c:557: tds version = '8.0'
config.c:773:Setting tds version to 8.0 (0x701) from $TDSVER.

Is the value 0x701 correct?


Then there are these, under "Final connection parameters:":

config.c:223: major_version = 7
config.c:224: minor_version = 1


When I run 0.82, major_version is 8 and minor_version is 0.

I don't have a $TDSVER environment variable set, but I am specifying the
following in etc/freetds.conf, both in the [global] section, as well as in
the [MYDSN] section:

tds version = 8.0



Thanks,
Fulvio




Archive powered by MHonArc 2.6.24.

Top of Page