freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- 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
-
Error handling,
Bill Thompson, 06/14/2002
- <Possible follow-up(s)>
- Re: Error handling, Brian Bruns, 06/14/2002
- Re: Error handling, Bill Thompson, 06/14/2002
- Re: Error handling, Brian Bruns, 06/14/2002
- Re: Error handling, Lowden, James K, 06/14/2002
- Re: Error handling, Bill Thompson, 06/14/2002
- Re: Error handling, Bill Thompson, 06/14/2002
- Re: Error handling, Lowden, James K, 06/14/2002
Archive powered by MHonArc 2.6.24.