freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: freddyz77 AT tin.it
- To: freetds AT franklin.oit.unc.edu
- Subject: Re: Crash in tsql
- Date: Sun, 11 Aug 2002 12:10:51 -0400
> 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
Archive powered by MHonArc 2.6.24.