MyDump Abort

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
cybsistemas
Posts: 118
Joined: Mon 12 Sep 2005 17:31
Location: Argentina

MyDump Abort

Post by cybsistemas » Tue 11 Feb 2014 15:34

as I can abort mydump.backuptofile
Mydac 7.6.12
for now I do the following

MyDump1BackupProgress
begin
ProgressBar1.Position := percent;
Application.ProcessMessages;
If abortar then
MyDump1.Objects := [];
end;

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: MyDump Abort

Post by AlexP » Wed 12 Feb 2014 16:32

Hello,

MyDump doesn't provide for breaking the backup process. For this, you can either use the code you have provided or instead of that just call the Abort method in the onBackupProgress event.

cybsistemas
Posts: 118
Joined: Mon 12 Sep 2005 17:31
Location: Argentina

Re: MyDump Abort

Post by cybsistemas » Thu 13 Feb 2014 13:04

The method you use, it aborts when it finishes copying the table in progress. If someone comes up with something to abort before...

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: MyDump Abort

Post by AlexP » Mon 17 Feb 2014 11:48

For the time being, there is no way to break the backup process, we will consider the possibility to such functionality in one of the next versions.

Post Reply