Correctly call BreakExec

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
sinys
Posts: 186
Joined: Tue 21 Feb 2012 03:44

Correctly call BreakExec

Post by sinys » Sat 01 Sep 2012 11:46

OraQuery.NonBlocking := False;

How I can correctly call OraQuery.BreakExec for my secondary thread with OraQuery.Open?

Sometimes it works fine (OraQuery.BreakExec), but sometimes after OraQuery.BreakExec when I try FreeAndNil(SecondaryThreadWithSQLExec); my application hangs.

bork
Devart Team
Posts: 649
Joined: Fri 12 Mar 2010 07:55

Re: Correctly call BreakExec

Post by bork » Mon 03 Sep 2012 10:23

Hello

We cannot reproduce your issue with application hanging. Please send us (at borism*devart*com) a small sample application that hangs on TOraQuery.BreakExec calling.

Post Reply