Skip to Content.
Sympa Menu

freetds - Re: [freetds] tdsdump SIGSEGV with mt apps

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: liam AT inodes.org
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] tdsdump SIGSEGV with mt apps
  • Date: Fri, 15 Apr 2005 19:17:01 +1000

On Wed, Apr 13, 2005 at 10:37:43AM -0400, James K. Lowden wrote:

> but what we really lack is someone steeped in unix tcp/ip idiom.

It's not only just that, things like 'timeout' and 'query timeout'
specified in the configuration are not even passed into TDSSOCKET.

I've set 'timeout = 5' and 'query timeout = 5' both globally and
for each DSN in freetds.conf. Looking in goodread() I have:

(gdb) inspect tds->timeout
There is no member named timeout.
(gdb) inspect tds->query_timeout
$3 = 0

This information appears to be gathered from tds_read_config_info()
at dblib.c:946 but then promptly destroyed at dblib.c:971 without
transfering it to TDSSOCKET or DBPROCESS!

If you're happy for me to go through and amend all this, please
let me know and I'll send through a patch.

Thanks.




Archive powered by MHonArc 2.6.24.

Top of Page