Page 1 of 1

TMyDump: bug?

Posted: Fri 06 Jun 2014 08:50
by vindac
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!

Re: TMyDump: bug?

Posted: Fri 06 Jun 2014 13:10
by PavloP
We can't reproduce the problem. Please upgrade to the latest MyDAC build (8.3.8) and check if the issue still exists.