Problem with SQL backend on MacOX on PowerPC

Mike Alexander mta at
Sat May 23 01:02:18 EDT 2009

On Fri, May 22, 2009 at 9:12 AM, Phil Longstaff <plongstaff at> wrote:
> Mike Alexander has discovered that 2.3.0 using a libdbi-based SQL backend does not work on a PowerPC using MacOX but probably other OSs as well.  The problem is that libdbi assumes the wrong endianness.  He has submitted a patch to the libdbi project to fix it and attached it to bug #583150 (

Unfortunately I discovered a problem in the patch and just attached a
new version to that ticket.  The driver API in libdbi supports 3 byte
integers which are a rather unusual data type.  I'm not sure how much
they are used, but my previous patch didn't handle them consistently
with the rest of the code.  I also discovered another endian bug in
the Oracle driver which I didn't fix, but I doubt many people are
using Oracle with GnuCash yet.


More information about the gnucash-devel mailing list