tdsver in mem.c::tds_alloc_login
Brian Bruns
camber at ais.org
Wed Jul 3 17:35:13 EDT 2002
I believe that is legacy stuff. major/minor_version gets set in config.c,
so it is probably set, and then overridden there.
On Wed, 3 Jul 2002, Lowden, James K wrote:
> Brian,
>
> Does this code work?
>
> I set my TDSVER to "4.2" or "7.0" (with decimal point), and it affects the
> wire protocol. I know it does, because the dump files change from Ascii to
> UCS-2.
>
> But this function still expects the old-style 42/70 format. It gets called,
> according to gdb, but obviously my "export TDSVER=4.2" won't be seen.
>
> If I'm to change it, I'd also define defaultcaps as static const.
>
> Fragment attached.
>
> --jkl
>
More information about the FreeTDS
mailing list