r18706 - gnucash/trunk/src/backend/dbi - Bug #608032 - MySQL timeout and no attempt reconnect, second version
Geert Janssens
gjanssens at code.gnucash.org
Sun Feb 21 18:10:55 EST 2010
Author: gjanssens
Date: 2010-02-21 18:10:54 -0500 (Sun, 21 Feb 2010)
New Revision: 18706
Trac: http://svn.gnucash.org/trac/changeset/18706
Modified:
gnucash/trunk/src/backend/dbi/gnc-backend-dbi.c
Log:
Bug #608032 - MySQL timeout and no attempt reconnect, second version
This version builds on Phil's implementation of the dbi error callback
functions to test for a timeout and to do the reconnect.
The same error handling is equally implemented for postgres and sqlite.
Unlike MySQL these two database types don't actually generate timeouts, but the
functionality can be used later on for other error types as well.
More information about the gnucash-patches
mailing list