Don't export data of FEDERATED tables, just like MRG_MyISAM. Closes #433.

This commit is contained in:
Ansgar Becker
2019-03-14 07:57:56 +01:00
parent 6107bc973c
commit 16afa3cafb

View File

@@ -1642,7 +1642,7 @@ begin
if comboExportData.Text = DATA_NO then begin
if menuExportAddComments.Checked then
Output('-- '+_('Data exporting was unselected.')+CRLF, False, True, True, False, False);
end else if DBObj.Engine = 'MRG_MYISAM' then begin
end else if MatchText(DBObj.Engine, ['MRG_MYISAM', 'FEDERATED']) then begin
if menuExportAddComments.Checked then
Output('-- '+f_('Table data not exported because this is %s table which holds its data in separate tables.', [DBObj.Engine])+CRLF, False, True, True, False, False);
end else begin