[freetds] Query Time Out

Christos Zoulas christos at zoulas.com
Tue Aug 8 14:34:27 EDT 2006


On Aug 8,  7:00pm, freddyz77 at tin.it (Frediano Ziglio) wrote:
-- Subject: Re: [freetds] Query Time Out

| Hi Christos,
|   I used time mainly for... historic reasons! That is code was just
| here... why should we use gettimeofday instead? We need only second
| precision.

Not a problem, it is just that time(3) is usually a wrapper for
gettimeofday(2), and you get the extra precision for free. In my
experience having more precision is always better even if you
don't need it right now.

christos



More information about the FreeTDS mailing list