mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-01 20:10:18 +02:00
* Fixed test for field is null
git-svn-id: trunk@17704 -
This commit is contained in:
parent
d8187bfdb5
commit
4a08937132
@ -1811,13 +1811,12 @@ begin
|
|||||||
currbuff := FUpdateBuffer[FCurrentUpdateBuffer].OldValuesBuffer;
|
currbuff := FUpdateBuffer[FCurrentUpdateBuffer].OldValuesBuffer;
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
begin
|
|
||||||
CurrBuff := GetCurrentBuffer;
|
CurrBuff := GetCurrentBuffer;
|
||||||
if not assigned(CurrBuff) then
|
|
||||||
begin
|
if not assigned(CurrBuff) then
|
||||||
result := false;
|
begin
|
||||||
exit;
|
result := false;
|
||||||
end;
|
exit;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
If Field.Fieldno > 0 then // If = 0, then calculated field or something similar
|
If Field.Fieldno > 0 then // If = 0, then calculated field or something similar
|
||||||
|
Loading…
Reference in New Issue
Block a user