On Monday 05 May 2014 13:43:08 Colin Law wrote: > Attached is patch to fix the startup crash on the maint branch after > tag 2.6.3 when using libdbi >= 0.9.9, as is the case on Ubuntu 14.04. > It is a single line correction (well single character in fact). > > Do I need to file a bug and attach the patch there or can someone > apply it from here? > > Cheers > > Colin Hi Colin,
Thank you for the patch. Looking at the libdbi api documentation I believe your fix is a step in the right direction. It only fixes the initialization for sqlite files though and not the initialization for the other sql backends. So I have applied an updated patch for this. In addition I have modified all dbi_<function>_r function calls to use &dbi_instance instead of dbi_instance. That's how I understand it should be from the api documentation. I have not tested this though because I don't have libdbi 0.9.x on my system. Can you recheck with the most recent maint revision and verify if everything works fine with your sqlite data file ? Thanks, Geert _______________________________________________ gnucash-devel mailing list [email protected] https://lists.gnucash.org/mailman/listinfo/gnucash-devel
