mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-27 12:10:36 +02:00
* Fix from Werner Pamler to fix locate. Fixes issue #40748
This commit is contained in:
parent
67a614e48d
commit
0d71273adc
@ -2066,6 +2066,8 @@ var
|
||||
lIndexDef: TDbfIndexDef;
|
||||
lIndexFile, lSaveIndexFile: TIndexFile;
|
||||
begin
|
||||
if not (loCaseInsensitive in Options) then
|
||||
begin
|
||||
lCursor := nil;
|
||||
lSaveCursor := nil;
|
||||
lIndexFile := nil;
|
||||
@ -2107,6 +2109,8 @@ begin
|
||||
end;
|
||||
end else
|
||||
Result := LocateRecordLinear(KeyFields, KeyValues, Options);
|
||||
end else
|
||||
Result := LocateRecordLinear(KeyFields, KeyValues, Options);
|
||||
end;
|
||||
|
||||
{$endif}
|
||||
|
Loading…
Reference in New Issue
Block a user