r19755 - gnucash/trunk/src/backend - Fix the errors, reduce the noise when testing the dbi backend

John Ralls jralls at code.gnucash.org
Thu Nov 4 14:37:36 EDT 2010


Author: jralls
Date: 2010-11-04 14:37:36 -0400 (Thu, 04 Nov 2010)
New Revision: 19755
Trac: http://svn.gnucash.org/trac/changeset/19755

Modified:
   gnucash/trunk/src/backend/dbi/gnc-backend-dbi.c
   gnucash/trunk/src/backend/dbi/test/test-dbi-business-stuff.c
   gnucash/trunk/src/backend/dbi/test/test-dbi-stuff.c
   gnucash/trunk/src/backend/sql/gnc-backend-sql.c
Log:
Fix the errors, reduce the noise when testing the dbi backend

* Check for a null gdate before attempting to make it a string. Fixes a bunch 
  of CRIT errors.

* Comment out the log debug setting in dbi. It's stable enough that it 
  shouldn't be needed routinely. It can, of course, be enabled from the command 
  line.

* Add a notice to ignore the warnings about there being no lock on the 
  database when session 3 is closed. Session 3 has to be run with ignore 
  locking or it won't run at all.





More information about the gnucash-patches mailing list