Support Breakexec Method ?

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
ysyang

Support Breakexec Method ?

Post by 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

Ikar
Posts: 1693
Joined: Thu 28 Oct 2004 13:56

Post by 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.

ysyang

Post by ysyang » Sat 23 Apr 2005 03:15

Thank you ^^

Post Reply