TZAbstractBlob.IsEmpty
Posted: 11.12.2021, 00:54
In the Unit ZDbcResultSet;
Could anyone explain to me why TZAbstractBlob.IsEmpty is defined as true when fBlobSize < 0 rather than fBLobSize < 1 ? I mean, if it has a blobsize of zero it has no content, right? Otherwise what is the differences between this and IsNull?
function TZAbstractBlob.IsEmpty: Boolean;
begin
Result := FBlobSize < 0;
end;
Could anyone explain to me why TZAbstractBlob.IsEmpty is defined as true when fBlobSize < 0 rather than fBLobSize < 1 ? I mean, if it has a blobsize of zero it has no content, right? Otherwise what is the differences between this and IsNull?
function TZAbstractBlob.IsEmpty: Boolean;
begin
Result := FBlobSize < 0;
end;