Skip to Content.
Sympa Menu

freetds - Re: [freetds] SOLVED: timeouts

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "ZIGLIO, Frediano, VF-IT" <Frediano.Ziglio AT vodafone.com>
  • To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] SOLVED: timeouts
  • Date: Tue, 16 Jan 2007 10:13:08 +0100


>
> ODBC's specification is a little vague. Probably if you set a query
> timeout of 20 seconds and pull the wire, you'll get a failure in 40
> seconds, because when the timer expires the library will make one
> good-faith effort to cancel the pending request (which will
> itself timeout
> 20 seconds later). I'm sure Frediano made a sensible choice
> in any case.
>

Mmmm... are you sure?
No, currently it returns always TDS_INT_TIMEOUT (that is send cancel and
continue) so probably it just keep waiting forever...

> As it happens, my own use of FreeTDS doesn't depend on
> timeouts working
> correctly. I created my own itch, if you will; I didn't like the
> perplexed messages that show up on this list every few months
> saying that
> timeout didn't seem to work right. A person can waste a lot of time
> before coming to the conclusion that it's FreeTDS's fault. Fixing the
> code was my little act of mercy.
>
> So, Happy New Year. Thanks for listening, and enjoy your
> subtly improved
> library.
>

Happy New Year !

freddy





Archive powered by MHonArc 2.6.24.

Top of Page