freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
Re: [freetds] SQLCancel() and error diagnostic: Expecting HY008SQLSTATE
- From: "ZIGLIO, Frediano, VF-IT" <Frediano.Ziglio AT vodafone.com>
- To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] SQLCancel() and error diagnostic: Expecting HY008SQLSTATE
- Date: Mon, 14 Jan 2008 13:51:35 +0100
> >
> > Frediano Ziglio wrote:
> > > Also it
> > > seems that in some different systems signal are handled in
> > a slightly
> > > different way. That is
> > > - query is sent, state is set to TDS_READING
> > > - select/poll stops
> > > - signal is caught, SQLCancel is called
> >
> > Who catches the signal? I hope it's the application.
> >
> > I don't know the proper treatment of signals in an ODBC
> > application, but
> > I'm pretty sure SQLCancel shouldn't be called in a signal
> > handler. The
> > handler doesn't have enough information to know whether
> > that's the right
> > thing to do.
> >
>
...
This patch seems to solve all cases.
freddy77
Attachment:
vedi.diff.gz
Description: vedi.diff.gz
-
Re: [freetds] SQLCancel() and error diagnostic: Expecting HY008 SQLSTATE
, (continued)
- Re: [freetds] SQLCancel() and error diagnostic: Expecting HY008 SQLSTATE, Sebastien FLAESCH, 01/15/2008
- Re: [freetds] SQLCancel() and error diagnostic: Expecting HY008SQLSTATE, ZIGLIO, Frediano, VF-IT, 01/15/2008
- Re: [freetds] SQLCancel() and error diagnostic: Expecting HY008SQLSTATE, Sebastien FLAESCH, 01/15/2008
- Re: [freetds] SQLCancel() and error diagnostic: Expecting HY008SQLSTATE, Sebastien FLAESCH, 01/15/2008
- Re: [freetds] SQLCancel() and error diagnostic: Expecting HY008SQLSTATE, Sebastien FLAESCH, 01/15/2008
- Re: [freetds] SQLCancel() anderror diagnostic: Expecting HY008SQLSTATE, ZIGLIO, Frediano, VF-IT, 01/15/2008
- Re: [freetds] SQLCancel() anderror diagnostic: Expecting HY008SQLSTATE, Sebastien FLAESCH, 01/15/2008
- Re: [freetds] SQLCancel() anderror diagnostic: Expecting HY008SQLSTATE, ZIGLIO, Frediano, VF-IT, 01/16/2008
- Re: [freetds] SQLCancel() and error diagnostic: Expecting HY008 SQLSTATE, ZIGLIO, Frediano, VF-IT, 01/15/2008
- Re: [freetds] SQLCancel() and error diagnostic: Expecting HY008 SQLSTATE, ZIGLIO, Frediano, VF-IT, 01/14/2008
- Re: [freetds] SQLCancel() and error diagnostic: Expecting HY008SQLSTATE, ZIGLIO, Frediano, VF-IT, 01/14/2008
- Re: [freetds] Are LOBs supported?, Frediano Ziglio, 01/10/2008
- Re: [freetds] Are LOBs supported?, Frediano Ziglio, 01/10/2008
- Re: [freetds] Are LOBs supported? - Binding before prepare, Sebastien FLAESCH, 01/10/2008
Archive powered by MHonArc 2.6.24.