Skip to Content.
Sympa Menu

freetds - Re: [freetds] dbsqlexec hangs..... bug or my fault somehow?

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "James K. Lowden" <jklowden AT freetds.org>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] dbsqlexec hangs..... bug or my fault somehow?
  • Date: Tue, 31 Dec 2013 13:02:03 -0500

On Mon, 30 Dec 2013 04:54:11 +0100
Ditmar Van Belle <ditmar AT dtc-acoustics.be> wrote:

> Turns out in fact, that the dbsqlexec statement never returns! And
> yes, this was also the case in the multithreaded version-- the daemon
> was able to continue most of its work but the table involved just
> remained locked at server level and the Insert never actually
> happened. Pretty nasty eh?
>
>
> What else can I say...? Ah well, this behaviour is observed with both
> NTwDBlib and DBLib (FreeTDS)... Anybody any bright ideas?

I recommend a TDSDUMP log. You'll see the sequence of function calls
to the library and packets exchanged with the server. My guess is that
an error condition is being ignored, probably because results are
incompletely read, despite your efforts so far.

HTH.

--jkl




Archive powered by MHonArc 2.6.24.

Top of Page