Subject | Re: Problem with FBBlob |
---|---|
Author | Roman Rokytskyy |
Post date | 2004-03-28T23:12:33Z |
> for some reason that I still must unterstand, my code tries to storeOne observation: if you would specify length correctly, it would work.
> an empty blob. But this is not the point. Debugging the application I
> saw FBBlob.copyStream and noticed a potential problem: if (in the
> while loop) chunk is < 0 (as in my case), this results in an infinite
> loop as there is no check.
Endless loop occurs only when specified length is greater than number
of bytes in the stream.
But thanks for the report again. Tested and fixed.
Roman