Skip to Content.
Sympa Menu

freetds - RE: [freetds] error handling

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Castellano, Nicholas" <Nicholas_Castellano AT acml.com>
  • To: 'FreeTDS Development Group' <freetds AT lists.ibiblio.org>
  • Subject: RE: [freetds] error handling
  • Date: Fri, 19 Dec 2003 11:34:38 -0500

> From: Lowden, James K
> Sent: Thursday, December 18, 2003 5:09 PM
> To: 'TDS Development Group'
> Subject: [freetds] error handling
>
> 4. Fail. Cause the calling function to return a failure
> status. db-lib calls this INT_CANCEL; ct-lib has no precise
> equivalent. Instead, ct-lib uses CS_FAIL to abandon
> processing on the connection and mark it dead. The
> application can re-open it, if it so chooses.

Returning INT_CANCEL does not always cause the calling routine to return
failure status. I think there may be parts of the Sybase documentation that
state it in this oversimplified way, but we need to code to observed
behavior, not to (possibly incorrect) documentation.
-----------------------------------------
The information contained in this transmission may contain privileged and
confidential information and is intended only for the use of the person(s)
named above. If you are not the intended recipient, or an employee or agent
responsible for delivering this message to the intended recipient, any
review, dissemination, distribution or duplication of this communication is
strictly prohibited. If you are not the intended recipient, please contact
the sender immediately by reply e-mail and destroy all copies of the original
message. Please note that we do not accept account orders and/or instructions
by e-mail, and therefore will not be responsible for carrying out such orders
and/or instructions.





  • [freetds] error handling, Lowden, James K, 12/18/2003
    • <Possible follow-up(s)>
    • RE: [freetds] error handling, Castellano, Nicholas, 12/19/2003

Archive powered by MHonArc 2.6.24.

Top of Page