Skip to content

Commit 93e1b39

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

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
@@ -2063,7 +2063,7 @@ procedure TfrmTableTools.DoExport(DBObj: TDBObject);
20632063
Data := DBObj.Connection.GetResults(
20642064
DBObj.Connection.ApplyLimitClause(
20652065
'SELECT',
2066-
'* FROM '+DBObj.QuotedDbAndTableName + OrderBy,
2066+
'/* '+APPNAME+' '+MainForm.AppVersion+' */ * FROM '+DBObj.QuotedDbAndTableName + OrderBy,
20672067
Limit,
20682068
Offset)
20692069
);

0 commit comments

Comments
 (0)