Bug#455834: Fwd: Libgda3 patch

Martin-Éric Racine q-funk at iki.fi
Fri Feb 8 07:09:12 UTC 2008


---------- Forwarded message ----------
From: Maurice van der Pot <griffon26 at kfk4ever.com>
Date: Feb 7, 2008 11:43 PM
Subject: Libgda3 patch

Hi,

I finished my libgda3 patch. At 81K it's a rather big one:
http://www.kfk4ever.com/~griffon26/shared/planner-libgda3-fixes.patch

To summarize the changes:

- configure.in and two Makefile.am's were modified to detect the libgda
  version and pass -DGDA_VERSION=NN to the compiler

- previously all sql commands were done through a single function, but
  that is now split up into one for single queries returning data and
  one for possibly multiple commands, returning only success/failure

- return value checking is now done consistently (I think we leaked some
  GdaDataModels here and there before)

- After moving some code back and forth, the sql helper functions at the
  top of mrp-sql.c and planner-sql-plugin.c are now identical (as they
  should be). I didn't feel it would add much to move them into a
  separate shared file, unless there's already such a shared file that
  I'm not aware of (?).

I invite anyone to give this patch some testing. It's all about database
access, so you'll have to pass --enable-database=yes to configure when
building.

If nobody objects, I plan to check in this patch in a week or so.

Maurice.

--
Maurice van der Pot

Gentoo Linux Developer   griffon26 at gentoo.org    http://www.gentoo.org
Gnome Planner Developer  griffon26 at kfk4ever.com  http://live.gnome.org/Planner




-- 
Martin-Éric Racine
http://q-funk.iki.fi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20080208/4fd607ae/attachment-0001.pgp 


More information about the pkg-gnome-maintainers mailing list