Issue #752: leave away misleading comment for VIEW in second export pass

This commit is contained in:
Ansgar Becker
2023-10-31 17:46:01 +01:00
parent efb46314fc
commit d722bfed68

View File

@@ -1693,7 +1693,7 @@ begin
// Table structure
if chkExportTablesDrop.Checked or chkExportTablesCreate.Checked then begin
if menuExportAddComments.Checked then
if menuExportAddComments.Checked and (not FSecondExportPass) then
Output('-- '+f_('Dumping structure for %s %s.%s', [_(LowerCase(DBObj.ObjType)), DBObj.Database, DBObj.Name])+CRLF, False, True, True, False, False);
if chkExportTablesDrop.Checked and (not FSecondExportPass) then begin
Struc := 'DROP '+UpperCase(DBObj.ObjType)+' IF EXISTS ';