This commit is contained in:
Daniele Teti 2024-04-17 23:32:18 +02:00
commit 739b751607
2 changed files with 2 additions and 2 deletions

View File

@ -315,7 +315,7 @@ begin
end;
if lMsg.Trim.IsEmpty then
lMsg := '<EOF>';
raise ERQLException.CreateFmt('[Error] %s (column %d - found %s)', [message, fCurIdx, lMsg]) at AddressOfReturnAddress;
raise ERQLException.CreateFmt('[Error] %s (column %d - found %s)', [message, fCurIdx, lMsg]){$IF DEFINED(MSWINDOWS)} at AddressOfReturnAddress{$ENDIF};
end;
procedure TRQL2SQL.Execute(

View File

@ -2615,7 +2615,7 @@ begin
for I := 0 to Length(lActionFormalParams) - 1 do
begin
lServiceName := '';
{$IF Defined(SYDNEYORBETTER)}
{$IF Defined(ALEXANDRIAORBETTER)}
lInjectAttribute := lActionFormalParams[I].GetAttribute<MVCInjectAttribute>;
{$ELSE}
lInjectAttribute := TRttiUtils.GetAttribute<MVCInjectAttribute>(lActionFormalParams[I]);