Skip to Content.
Sympa Menu

freetds - Re: Crash in tsql

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • 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




Archive powered by MHonArc 2.6.24.

Top of Page