TMyDump: bug?

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
vindac
Posts: 20
Joined: Tue 18 Mar 2014 16:44

TMyDump: bug?

Post by vindac » Fri 06 Jun 2014 08:50

Hi,

I have created a TMysqlConnection to a DB.
I have created a TMyDump without any options set. Nothing special.

When I call the code below, I am getting a tabledump for the first table (tblproducts).
I have the same problem when using d.BackupToStream. It's always the first table that gets backed up.
Do I need to clear the previous result first, or is this a bug?
(If it's not a bug, I will of course change the subject of this post...)

Code: Select all

  
  d.BackupQuery('select * from tblproducts limit 2');
  memo1.Text := d.SQL.Text;

  d.BackupQuery('select * from tblchannels limit 2');
  memo2.Text := d.SQL.Text;

Thanks!

PavloP
Devart Team
Posts: 149
Joined: Fri 24 Jan 2014 12:33

Re: TMyDump: bug?

Post by PavloP » Fri 06 Jun 2014 13:10

We can't reproduce the problem. Please upgrade to the latest MyDAC build (8.3.8) and check if the issue still exists.

Post Reply