mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-08 10:39:29 +02:00
* TBlobField.SaveToStream() should check whether CreateBlobStream actually creates a stream
git-svn-id: trunk@16219 -
This commit is contained in:
parent
f520989064
commit
1bc555dc53
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user