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;