HP3000-L Archives

August 1995, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Chris Breemer <[log in to unmask]>
Reply To:
Chris Breemer <[log in to unmask]>
Date:
Mon, 14 Aug 1995 10:00:13 METDST
Content-Type:
text/plain
Parts/Attachments:
text/plain (21 lines)
Hi All,
 
I have a question for all you Allbase gurus out there.
 
When I store LONG VARBINARY data into Allbase, I put the data in a memory
chunk (MPE) or a shared memory segment area (HPUX) and the use that
address/shmid in the sql INSERT statement. The question is now: is it safe to
free the memory (destroy the shmid) after the insert, or should I wait until
a COMMIT WORK is issued? The documentation does not mention this in any way.
I would expect Allbase to copy the data onto its own heap during the insert,
so I could safely free up resources after that. But you never know...
 
Any ideas will be greatly apreciated.
Thanks !
 
--
 
:)
Chris Breemer
[log in to unmask]

ATOM RSS1 RSS2