Re: Setting tds version to 8.0 (0x701)
Frediano Ziglio <[email protected]>
| Newsgroups | gmane.comp.db.tds.freetds |
|---|---|
| Message-ID | <[email protected]> |
2010/11/24 Fulvio Casali <[email protected]>: > 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 Perfectly expected. TDS protocol version is 7.1, 8.0 is the former "wrong" version still supported for compatibility. 0.83 supports both (8.0 and 7.1) but internally use correct one (7.1 or 0x701 in tds_version). freddy77 _______________________________________________ FreeTDS mailing list [email protected] http://lists.ibiblio.org/mailman/listinfo/freetds