On Fri, 2001-10-19 at 14:51, Linas Vepstas wrote:
> On Fri, Oct 19, 2001 at 02:04:34PM -0700, Dave Peticolas was heard to remark:
> > > I think that you were trying to fix a bug related to changes to kvp
> > > values in multi-user mode.  Is this so?
> > 
> > It actually turned up in single-user mode. When deleting a split
> > in a transactoin, it would try to delete the kvp frame of the split.
> > But the original sql command didn't specify the object type for the
> > audit record of the kvp frame 
> 
> It shouldn't need to, it should have been copied in ... 
> The INSERT INTO ... SELECT ... construction is essentially a copy
> command.  The objtype is supposed to be copied from what the 
> SELECT returned.  Several fields, not just the objtype, are supposed 
> to be copied, including the value of 'data' , 'type', 'num', 'denom', 
> etc.

Yes, I know, but the table being copied from (one of the kvpvalue_*)
tables, never contains a 'objtype' field. Was it supposed to?

dave

PGP signature

Reply via email to