You've already forked lazarus-ccr
RxFPC:fix TRxMemoryData.locate for vararray values
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8347 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -1458,7 +1458,12 @@ var
|
||||
I: Integer;
|
||||
begin
|
||||
if FieldCount = 1 then
|
||||
Result := CompareField(TField(Fields.First), KeyValues)
|
||||
begin
|
||||
if VarIsArray(KeyValues) then
|
||||
Result := CompareField(TField(Fields.First), KeyValues[VarArrayLowBound(KeyValues, 1)])
|
||||
else
|
||||
Result := CompareField(TField(Fields.First), KeyValues)
|
||||
end
|
||||
else begin
|
||||
Result := True;
|
||||
for I := 0 to FieldCount - 1 do
|
||||
|
Reference in New Issue
Block a user