freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: "James K. Lowden" <jklowden AT freetds.org>
- To: mohnd AT egolfscore.com, FreeTDS Development Group <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] FreeTDS and Ubuntu, iodbc
- Date: Mon, 23 Apr 2007 10:27:05 -0400
Dan Mohn wrote:
>
> For the 2nd test, I set the freetds.conf timeouts to 100, so they
> wouldn't timeout at the WAITFOR, then after 20 seconds, (even though it
> wasn't timing out anyway, but just to be safe) I pull the cable. I did
> this about an hour ago, but no response back.
Hi Dan,
Frediano just told me our ODBC driver doesn't honor the timeout in
freetds.conf. I didn't know that!
According to the ODBC standard, it's up to the application to set a
timeout via SQLSetStmtAttr(SQL_ATTR_QUERY_TIMEOUT). AFAIK the driver is
allowed to have any default timeout it chooses. FreeTDS's default timeout
is infinite; Microsoft's (AIUI) is shorter.
What we can do is first add a timeout option to bsqlodbc, so we can see if
the timeout is working correctly or not. And we can (eventually) change
the driver to respect the timeout in freetds.conf.
Your original query had to do with RealBasic. On the evidence, it's not
setting a timeout. If we can demonstrate the ODBC driver handles timeouts
correctly, then the question becomes how to put one in effect when
RealBasic is the "application". I think you have these choices:
1. Wait for one of us to change the driver.
2. Change the driver yourself.
3. Find the default timeout value (zero) in the ODBC driver, set it to
something you like, and rebuild. I think this is the simplest and easiest
option if it meets your needs.
Regards,
--jkl
-
Re: [freetds] FreeTDS and Ubuntu, iodbc
, (continued)
-
Re: [freetds] FreeTDS and Ubuntu, iodbc,
Dan Mohn, 04/16/2007
-
Re: [freetds] FreeTDS and Ubuntu, iodbc,
James K. Lowden, 04/16/2007
- Re: [freetds] FreeTDS and Ubuntu, iodbc, Dan Mohn, 04/17/2007
- Re: [freetds] FreeTDS and Ubuntu, iodbc, James K. Lowden, 04/17/2007
- Re: [freetds] FreeTDS and Ubuntu, iodbc, Dan Mohn, 04/19/2007
- Re: [freetds] FreeTDS and Ubuntu, iodbc, Dan Mohn, 04/19/2007
- Re: [freetds] FreeTDS and Ubuntu, iodbc, James K. Lowden, 04/19/2007
- Re: [freetds] FreeTDS and Ubuntu, iodbc, Dan Mohn, 04/21/2007
- Re: [freetds] FreeTDS and Ubuntu, iodbc, James K. Lowden, 04/22/2007
- Re: [freetds] FreeTDS and Ubuntu, iodbc, Dan Mohn, 04/22/2007
-
Re: [freetds] FreeTDS and Ubuntu, iodbc,
James K. Lowden, 04/16/2007
-
Re: [freetds] FreeTDS and Ubuntu, iodbc,
Dan Mohn, 04/16/2007
- Re: [freetds] FreeTDS and Ubuntu, iodbc, James K. Lowden, 04/23/2007
- Re: [freetds] FreeTDS and Ubuntu, iodbc, ZIGLIO, Frediano, VF-IT, 04/23/2007
- Re: [freetds] FreeTDS and Ubuntu, iodbc, ZIGLIO, Frediano, VF-IT, 04/23/2007
- Re: [freetds] FreeTDS and Ubuntu, iodbc, James K. Lowden, 04/23/2007
- Re: [freetds] FreeTDS and Ubuntu, iodbc, Dan Mohn, 04/23/2007
- Re: [freetds] FreeTDS and Ubuntu, iodbc, James K. Lowden, 04/24/2007
- Re: [freetds] FreeTDS and Ubuntu, iodbc, Dan Mohn, 04/24/2007
- Re: [freetds] FreeTDS and Ubuntu, iodbc, James K. Lowden, 04/26/2007
Archive powered by MHonArc 2.6.24.