Skip to Content.
Sympa Menu

freetds - Re: dbconvert bugs

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Bill Thompson" <thompbil AT exchange.uk.ml.com>
  • To: freetds AT franklin.oit.unc.edu
  • Subject: Re: dbconvert bugs
  • Date: Fri, 12 Jul 2002 06:38:49 -0400


Brian,
>
> OK, I'm looking to put error handling into tds_convert...
> Now I've hit a problem. tds_convert is not passed in the TDSSOCKET, which
> tds_client_msg() requires.
> I started to change things so that it could be passed in.
> No problem with dbconvert(). This is passed in dbproc, whence we can get
> the TDSSOCKET.
> I think we have a problem with cs_convert(). This is not passed anything
> that allows me to get at a TDSSOCKET, so I cant pass it into
> tds_convert...
>
> Any ideas about where to go from here ?
>

Looked a bit further. Seems to me I'll have to call g_tds_err_handler
directly, rather than through tds_client_msg() . The only thing we wont be
able to do is set the tds.state to TDS_DEAD if the error handler function
returns fail.

Bill




Archive powered by MHonArc 2.6.24.

Top of Page