Skip to Content.
Sympa Menu

freetds - Re: [freetds] freeTDS 6.1 & OpenClient

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Shahryar G. Hashemi" <shahryar AT n2h2.com>
  • To: Frediano Ziglio <freddyz77 AT tin.it>
  • Cc: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] freeTDS 6.1 & OpenClient
  • Date: Fri, 2 May 2003 12:48:35 -0700 (PDT)

The question then is why is this check being performed. Is this for an MS
SQL
test?

Shahryar

On 2 May 2003, Frediano Ziglio wrote:

> Date: 02 May 2003 20:51:54 +0200
> From: Frediano Ziglio <freddyz77 AT tin.it>
> To: shahryar AT n2h2.com, FreeTDS Development Group <freetds AT lists.ibiblio.org>
> Subject: Re: [freetds] freeTDS 6.1 & OpenClient
>
>
> > The server in question does not have any @@ variables [it was built off
> > of
> > OpenClient/C and they never included hangling of @@ variables]. How do I
> > turn
> > this off so that this check doesn't happen? I have used TDS version 4.2
> > ->
> > 5.0.
> >
> > Any help would be greatly appreciated.
> >
>
> In token.c remove these lines
>
> tds->spid = tds->rows_affected;
> if (tds->spid == 0) {
> if (tds_set_spid(tds) != TDS_SUCCEED) {
> tdsdump_log(TDS_DBG_ERROR, "%L tds_set_spid()
> failed\n");
> succeed = TDS_FAIL;
> }
> }
>
> This should fix your problem... There is a function of DB-Library that
> return pid, this won't work but I don't think it's a big problem ...
>
> freddy77
>
>

--
Shahryar Ghazneini Hashemi | Cell Phone: +1 206 604-7852
DBA - Operations Group | Telephone: +1 206 834-1739
N2H2 Inc. | Pager: +1 206 609-6154
900 4th Avenue Suite #3600 | FAX: +1 206 336-2971
Seattle, WA 98164 U.S.A. | E-MAIL: shahryar AT n2h2.com
==============================================================================





Archive powered by MHonArc 2.6.24.

Top of Page