Skip to Content.
Sympa Menu

freetds - Re: [freetds] How to break a run

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Brian Bruns <camber AT ais.org>
  • To: frank.fun AT kpage.de, FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] How to break a run
  • Date: Wed, 19 Feb 2003 08:38:47 -0500 (EST)


If you do a tds_send_cancel() followed by a tds_process_cancel() you
should be back to the default state. wanna provide some sample code
that demos what you're seeing?

Brian

On 19 Feb 2003, Frank von Daak wrote:

> Hi,
>
> I've used the 'tds_process_cancel()'-function in my code, now.
> This is working very fine. But if I try to run the next query, I immediatly
> get 'TDS_SUCCEED' when doing a 'tds_process_result_tokens()'.
>
> Do I've to free/reset the tds-structure after the 'tds_process_cancel()' ?
> If yes - how can I do this ?
>
> Thank you very much,
> Frank
>
> Am Wednesday 19 February 2003 12:19 schrieb Brian Bruns:
> > in dblib it's dbcancel(), ctlib is ct_cancel()
> >
> > On 19 Feb 2003, Frank von Daak wrote:
> > > Hello,
> > >
> > > I've one silly question:
> > > How do I stop a running tds-Query in a C-program ?
> > >
> > > Thank you very much !
> > > Frank
> >
> > _______________________________________________
> > FreeTDS mailing list
> > FreeTDS AT lists.ibiblio.org
> > http://lists.ibiblio.org/mailman/listinfo/freetds
>
>




Archive powered by MHonArc 2.6.24.

Top of Page