Skip to content

Commit 4016741

Browse files
committed
feat: inject app name and version into potentially long during SQL queries for the SQL export
Refs #1988
1 parent eb5a3a5 commit 4016741

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/tabletools.pas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2092,7 +2092,7 @@ procedure TfrmTableTools.DoExport(DBObj: TDBObject);
20922092
Data := DBObj.Connection.GetResults(
20932093
DBObj.Connection.ApplyLimitClause(
20942094
'SELECT',
2095-
'* FROM '+DBObj.QuotedDbAndTableName + OrderBy,
2095+
'/* '+APPNAME+' '+MainForm.AppVersion+' */ * FROM '+DBObj.QuotedDbAndTableName + OrderBy,
20962096
Limit,
20972097
Offset)
20982098
);

0 commit comments

Comments
 (0)