Backend error message And SQL fixes

Derek Atkins warlord@MIT.EDU
15 Nov 2002 10:35:33 -0500


I'll look at integrating this today/tonight.

-derek

Matthew Vanecek <mevanecek@yahoo.com> writes:

> The attached patch contains some immediate bug fixes for the SQL back
> end, and it adds and error message string + accessor/mutator to
> Backend.  Also, in xaccAccountCommitEdit(), added the use of PWARN_GUI
> to display the error message.
> 
> The bug fixes in the SQL backend involved converting the *_QUERY macros
> to functions.  I've completed the FINISH_QUERY and SEND_QUERY
> conversions (actually, additions).  I need to convert the rest of the
> macros to functions, and change the code to call the functions instead. 
> I've changed a couple of places that were causing immediate problems--if
> more pop up I'll fix them.
> 
> The putil.c belongs in src/backend/postgres.  If someone could apply the
> patch and add the file to CVS, I'd be most appreciative.
> 
> ciao,
> -- 
> Matthew Vanecek
> perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'
> ********************************************************************************
> For 93 million miles, there is nothing between the sun and my shadow except me.
> I'm always getting in the way of something...
> 
> 
> 

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord@MIT.EDU                        PGP key available