gnucash maint: Bug 789928 - FTBFS with libdbi 0.9.0-5 on Debian

John Ralls jralls at code.gnucash.org
Tue Nov 7 21:10:50 EST 2017


Updated	 via  https://github.com/Gnucash/gnucash/commit/45bab936 (commit)
	from  https://github.com/Gnucash/gnucash/commit/c19f851c (commit)



commit 45bab93613e6a93b206b74ffc18f63708b07293b
Author: John Ralls <jralls at ceridwen.us>
Date:   Tue Nov 7 18:06:04 2017 -0800

    Bug 789928 - FTBFS with libdbi 0.9.0-5 on Debian
    
    Commit 88b8477 on libdbi calls the error handler if one attempts to run
    off the end of a result set. Since we often loop on
    dbi_result_next_row() returning 0 this breaks our logic in several
    places. This change simply returns from the error handler on a
    DB_ERROR_BADIDX allowing the logic to work as before.



Summary of changes:
 src/backend/dbi/gnc-backend-dbi.c | 27 +++++++++++++++++++++------
 1 file changed, 21 insertions(+), 6 deletions(-)



More information about the gnucash-patches mailing list