Skip to Content.
Sympa Menu

freetds - Re: [freetds] dbsetlversion + DBVERSION_100

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "James K. Lowden" <jklowden AT freetds.org>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] dbsetlversion + DBVERSION_100
  • Date: Sat, 3 Dec 2011 10:46:15 -0500

On Thu, 10 Nov 2011 13:54:43 +0100
LacaK <lacak AT zoznam.sk> wrote:

> --- dblib.c.ori Thu Aug 18 02:54:40 2011
> +++ dblib.c Thu Nov 10 13:45:56 2011
> @@ -936,6 +936,9 @@ dbsetlversion (LOGINREC * login, BYTE ve
> case DBVER60:
> login->tds_login->tds_version = 0x700;
> return SUCCEED;
> + case DBVERSION_100:
> + tds_set_version(login->tds_login, 5, 0);
> + return SUCCEED;
> case DBVERSION_71:
> tds_set_version(login->tds_login, 7, 1);
> return SUCCEED;

Laco,

I applied your patch to my working copy. I can't commit it yet
because of other unfinished local changes, but it will appear soon in
CVS HEAD.

Thanks for the patch and for explaining why it's useful to you.

Regards,

--jkl




Archive powered by MHonArc 2.6.24.

Top of Page