freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Brian Bruns <camber AT ais.org>
- To: TDS Development Group <freetds AT franklin.metalab.unc.edu>
- Subject: Re: Crash in tsql
- Date: Sun, 11 Aug 2002 12:37:31 -0400 (EDT)
Ok, I was on the right track, sizeof(*tds) differed between the two, I
just didn't have time to finish it off. config.h should be included from
tds.h (tds.h.in) otherwise we'll have this problem again in the future.
Checking the fix in now.
Brian
On Sun, 11 Aug 2002 freddyz77 AT tin.it wrote:
> > This has been the topic of discussion for the past couple of days. For
> > some reason tds->tds_ctx is NULL after the call to tds_connect(), although
> > it is set within tds_connect(). I haven't had a chance to track it any
> > further.
> >
> > Brian
> >
>
> Ok, after a bit debug (assembly level at the end) I found the problem.
> You do not include config.h in tsql, so tds_socket appear to tsql without
> iconv stuff.
>
> Add "#include <config.h>" on top of tsql.c and it run correctly.
> Perhaps is best to include config.h from tds.h.in ...
>
> freddy77
>
-
Crash in tsql,
Frediano Ziglio, 08/11/2002
- <Possible follow-up(s)>
- Re: Crash in tsql, Brian Bruns, 08/11/2002
- Re: Crash in tsql, freddyz77, 08/11/2002
- Re: Crash in tsql, Brian Bruns, 08/11/2002
- Re: Crash in tsql, Brian Bruns, 08/12/2002
- Re: Crash in tsql, ZIGLIO Frediano, 08/12/2002
- Re: Crash in tsql, Coleman, Dave, 08/13/2002
- Re: Crash in tsql, Lowden, James K, 08/13/2002
- Re: Crash in tsql, Brian Bruns, 08/13/2002
- Re: Crash in tsql, Lowden, James K, 08/13/2002
- Re: Crash in tsql, Varley, David(CBorn at Alcoa), 08/13/2002
- Re: Crash in tsql, Varley, David(CBorn at Alcoa), 08/14/2002
- Re: Crash in tsql, Brian Bruns, 08/14/2002
- Re: Crash in tsql, Varley, David(CBorn at Alcoa), 08/14/2002
Archive powered by MHonArc 2.6.24.