DBDEAD ()

Brian Bruns camber at umcc.ais.org
Mon Jan 24 19:32:09 EST 2000



Hmm... my local copy already had most of the dblib.c changes (although a
little different).  Were you running the latest CVS? or maybe I just
hadn't checked it in :-/

So I merged down some of the other changes and restructured a couple thing 
in token.c, so you may want ot verify that it does what you want it to. (I
think I got it right...)

Brian

On Mon, 24 Jan 2000, Brian Bruns wrote:

> Actually, I thought it was already checking that :-) maybe I did it in 
> ctlib and not dblib...ah well...The patch looks good, I'll check it in 
> tonight when I get home.
> 
> Brian
> 
> On 01/24/00, ""Geoff Winkless" <geoff at farmline.com>" wrote:
> > Ok... so should DBDEAD return true if dbproc->tds_socket->s == 0?
> > 
> > I say yes, but I could be wrong -- should the user be checking for the
> > validity of connection some other way?
> > 
> > Or should we invalidate the dbproc as soon as the connection is invalidated?
> > 
> > Your thoughts please...
> > 
> > Geoff
> > 
> > (oh, and I've got the thing reconnecting automatically if it gets
> > disconnected. Very cool :)
> 
> ---
> You are currently subscribed to freetds as: camber at ais.org
> To unsubscribe, forward this message to $subst('Email.Unsub')
> 
> 




More information about the FreeTDS mailing list