Emiliano wrote:
> 
> Frank Boehme wrote:
> 
> > 1. The corresponding entries (with the matching tablename and oid) in
> > the    record_extension table are deleted as well.
> >
> > 2. The attempt ot delete the object fails.
> >
> > 3. The object gets deleted but the record extension stay around.
> >
> > Obviuously, 3. would cause inconcistency.
> 
> The delete should fail with mgd_errno returning MGD_ERR_HAS_DEPENDANTS.

In fact you can delete an object with all its dependants by calling the
function mgd_delete_xxx_tree if available for that object.

> Emile

-- 
Best Regards,

David Guerizec - Open Source Developer @ AurorA R&D

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to