Skip to Content.
Sympa Menu

freetds - Re: Error handling

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: Error handling
  • Date: Fri, 14 Jun 2002 11:16:29 -0400


> Ok, you can either force tds_convert_*() to take a TDSSOCKET or you can
> trigger this behaviour in bcp.c, although I suspect you'll have already
> lost the reason (overflow, illegal, etc...) at that point. Just be sure
> to check for the NULL case before calling tds_client_msg() cause it can
> happen.
>

I think I'll take the bcp.c approach.
If I put out a message saying:

"data conversion error on host data file line %d column %d"

that'll be easier, and more informative, I think.

thanks




Archive powered by MHonArc 2.6.24.

Top of Page