GnuCash Daily Source Diff

Dave Peticolas dave@krondo.com
19 Oct 2001 14:59:28 -0700


--=-fyKxGGIWpYWrlYa1IoNE
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

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 rem=
ark:
> > > I think that you were trying to fix a bug related to changes to kvp
> > > values in multi-user mode.  Is this so?
> >=20
> > 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=20
>=20
> It shouldn't need to, it should have been copied in ...=20
> The INSERT INTO ... SELECT ... construction is essentially a copy
> command.  The objtype is supposed to be copied from what the=20
> SELECT returned.  Several fields, not just the objtype, are supposed=20
> to be copied, including the value of 'data' , 'type', 'num', 'denom',=20
> 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


--=-fyKxGGIWpYWrlYa1IoNE
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQA70KJA5effKKCmfpIRAjgQAJ9PmG60JuUo1Ro92M+MhB0Vjo9i+QCaAz6W
63s+Y4qdZBmzU2A0+L1au1Y=
=bXxF
-----END PGP SIGNATURE-----

--=-fyKxGGIWpYWrlYa1IoNE--