Daniel Ockeloen wrote:
The decodeDBnodeField method of the database support classes is still puting $SHORTED in the node when it's binary data. But the query will still retrieve all fields (including the binary ones) from the database with a select * from mmb_images and this could result into memory problems.-----Oorspronkelijk bericht----- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Namens Pierre van Rooden Verzonden: vrijdag 17 januari 2003 17:00 Aan: [EMAIL PROTECTED] Onderwerp: Re: images eating memoryRob van Maris wrote:I don't expect this to be handled well in all cases. This way incomplete nodes may be retrieved (i.e. missing certain fields), resultingin all kindof exceptions.This will not be a problem as long as the retrieval process make sure to put the "$SHORTED" keyword in the byte-type fields (as MMBase actually assumes that blobs are not retrived from the database). --This is correct the whole concept was to delay download of blobs to the moment they are needed. I am not sure why this was changed and i am for putting it back.
Gerard
