* TBlobField.SaveToStream() should check whether CreateBlobStream actually creates a stream

git-svn-id: trunk@16219 -
This commit is contained in:
michael 2010-10-25 09:55:43 +00:00
parent f520989064
commit 1bc555dc53

View File

@ -2607,7 +2607,8 @@ Var S : TStream;
begin
S:=GetBlobStream(bmRead);
Try
Stream.CopyFrom(S,0);
If Assigned(S) then
Stream.CopyFrom(S,0);
finally
S.Free;
end;