mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-19 09:59:29 +02:00
* Implement ClearCalcFields
git-svn-id: trunk@12762 -
This commit is contained in:
parent
3b171cb6fb
commit
d72a9cfa48
@ -402,8 +402,18 @@ begin
|
||||
end;
|
||||
|
||||
procedure TCustomSqliteDataset.ClearCalcFields(Buffer: PChar);
|
||||
var
|
||||
i: Integer;
|
||||
RecordItem: PDataRecord;
|
||||
begin
|
||||
//todo
|
||||
if FCalcFieldList = nil then
|
||||
Exit;
|
||||
RecordItem := PPDataRecord(Buffer)^;
|
||||
for i := FieldDefs.Count to FieldDefs.Count + FCalcFieldList.Count - 1 do
|
||||
begin
|
||||
StrDispose(RecordItem^.Row[i]);
|
||||
RecordItem^.Row[i] := nil;
|
||||
end;
|
||||
end;
|
||||
|
||||
constructor TCustomSqliteDataset.Create(AOwner: TComponent);
|
||||
|
Loading…
Reference in New Issue
Block a user