Re: Patch to use configured connection timeout

Frediano Ziglio <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <CAHt6W4chRDshJpUcb-DHW+FSeR7Sb60h4bf3mTLw-+b=t-s-kQ@mail.gmail.com>
Done already, was still applying correctly.

Frediano


2016-04-19 12:29 GMT+01:00 Jan Blom <[email protected]>:
> Here is the patch against master.
>
> Best regards,
> Jan Blom
>
> -----Original Message-----
> From: FreeTDS [mailto:[email protected]] On Behalf Of Frediano Ziglio
> Sent: den 19 april 2016 12:35
> To: FreeTDS Development Group
> Subject: Re: [freetds] Patch to use configured connection timeout
>
> Patch is good but for compatibility I prefer to apply only to 1.0
>
> Frediano
>
>
> 2016-04-18 21:36 GMT+01:00 Jan Blom <[email protected]>:
>> Hello,
>>
>> Using FreeTDS 0.95 in combination with unixODBC I notice that the connection timeout value configured in freetds.conf is never used when calling SQLDriverConnect. The attached patch makes us use the value from freetds.conf if we don't call SQLSetConnectAttr with SQL_ATTR_CONNECTION_TIMEOUT.
>>
>> The change is rather trivial. Let me know if you want me to produce a patch against head. Looking at the 1.0RC1 code it seems the issue is still present.
>>
>>
>> Best regards,
>> Jan Blom
>>
>> _______________________________________________
>> FreeTDS mailing list
>> [email protected]
>> http://lists.ibiblio.org/mailman/listinfo/freetds
>>
> _______________________________________________
> FreeTDS mailing list
> [email protected]
> http://lists.ibiblio.org/mailman/listinfo/freetds
>
> _______________________________________________
> FreeTDS mailing list
> [email protected]
> http://lists.ibiblio.org/mailman/listinfo/freetds
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.