fix: trim away spaces around name of routine parameter silently

Refs #1369
This commit is contained in:
Ansgar Becker
2026-02-06 13:55:28 +01:00
parent 7be7f3ed83
commit 84228c80ff

View File

@@ -554,7 +554,7 @@ begin
tmp := '';
if ProcOrFunc = 'PROCEDURE' then
tmp := tmp + Parameters[i].Context + ' ';
tmp := tmp + DBObject.Connection.QuoteIdent(Parameters[i].Name) + ' ' + Parameters[i].Datatype;
tmp := tmp + DBObject.Connection.QuoteIdent(Parameters[i].Name.Trim) + ' ' + Parameters[i].Datatype;
Params.Add(tmp);
end;
if Params.Count > 0 then