Support Breakexec Method ?

Support Breakexec Method ?

Postby ysyang » Fri 22 Apr 2005 08:16

Im use Delphi 6 / MyDAC 3.50.0.18
I know ODAC BreakExec method.
Is there a way in MyDAC to abort a Query?
Is there a similar way in MyDAC to do this?

Thanks
ysyang
 

Postby Ikar » Fri 22 Apr 2005 14:35

MySQL Server in difference from Oracle doesn't provide such functionality. The only way, using TMyServerControl.KillProcess() destroy a session. Probably, setting short CommandTimeout also will be necessary.
Ikar
 
Posts: 1693
Joined: Thu 28 Oct 2004 13:56

Postby ysyang » Sat 23 Apr 2005 03:15

Thank you ^^
ysyang
 


Return to MySQL Data Access Components