Re: ESQL/C dynamic SQL and BLOBS
Posted in 1995
In article <3lgo9o$9rs@aristotle.algonet.se>, Mike Johnson <mikehunt@algonet.se> wrote: >Jan Nord'n (jano@algonet.se) wrote: > >[stuff about self allocating BLOB memory deleted] > >Jan, don't bother with asking Informix to handle this for you. You >don't mention which version of Online you are using but in my experience >of version 5.0x it is not worth the bother. It leaks memory like >hell. Allocate the buffers yourself and take control! I agree! I've have had the same experience using Online 5.X on both SunOS and HP-UX. Your program will be more robust if you handle the BLOB memory allocation/deallocation yourself. -- Greg C. Faulk Database Administrator TRW Financial Systems Document Imaging Systems 300 Lakeside Drive Phone: (510) 645-3655, Fax: (510) 645-3311 Oakland CA 94612-3540 E-mail: gregf@tfs.com