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;
TZAbstractBlob.IsEmpty
Moderators: gto, cipto_kh, EgonHugeist, mdaems
-
- Platinum Boarder
- Posts: 1956
- Joined: 17.01.2011, 14:17
Re: TZAbstractBlob.IsEmpty
Hello BytePlayer,
I am not sure what the inventor of TZAbstractBlob thought when he wrote this code. Could you please open a bug report on our bugtracker?
Best regards,
Jan
I am not sure what the inventor of TZAbstractBlob thought when he wrote this code. Could you please open a bug report on our bugtracker?
Best regards,
Jan