Fixed compilation after r41795

git-svn-id: trunk@41796 -
This commit is contained in:
marcus 2019-03-26 15:47:08 +00:00
parent 2669b68e6d
commit c6276ab42e

View File

@ -428,7 +428,7 @@ begin
for i:=0 to High(ParamPart) do for i:=0 to High(ParamPart) do
begin begin
CopyLen:=ParamPart[i].Start-BufIndex; CopyLen:=ParamPart[i].Start-BufIndex;
Move(SQL[BufIndex],NewQuery[NewQueryIndex],CopyLen); System.Move(SQL[BufIndex],NewQuery[NewQueryIndex],CopyLen);
Inc(NewQueryIndex,CopyLen); Inc(NewQueryIndex,CopyLen);
case ParameterStyle of case ParameterStyle of
psInterbase : begin psInterbase : begin
@ -454,7 +454,7 @@ begin
end; end;
CopyLen:=Length(SQL)+1-BufIndex; CopyLen:=Length(SQL)+1-BufIndex;
if CopyLen > 0 then if CopyLen > 0 then
Move(SQL[BufIndex],NewQuery[NewQueryIndex],CopyLen); System.Move(SQL[BufIndex],NewQuery[NewQueryIndex],CopyLen);
end end
else else
NewQuery:=SQL; NewQuery:=SQL;