[GNC] Sluggish after 5.13
Sherlock
sh025622 at gmail.com
Wed Oct 29 19:32:04 EDT 2025
Hi John,
I suspect the Windows nightly builds have not been properly supporting
databases since libdbi was updated to 0.9.1 on October 5th unless the
drivers are in the c:\libdbi\lib\dbd folder or the folder to which the
GNC_DBD_DIR environment variable is set.
For example, attempt to save as sqlite3.
It appears there is a generic bug in gnc_module_init_backend_dbi() when
HAVE_LIBDBI_R is defined. Specifically, when the initial
dbi_initialize_r() returns no drivers, the dbi_instance variable is
still set.
So, instead of:
#if HAVE_LIBDBI_R
if (dbi_instance)
return;
#endif
the code should be:
#if HAVE_LIBDBI_R
if (dbi_instance)
{
dbi_shutdown_r (dbi_instance);
dbi_instance = nullptr;
}
#endif
Regards,
Sherlock
On 10/28/25 4:21 PM, John Ralls wrote:
> I think that’s an info message you get when running GnuCash with the —debug flag: It’s just reporting that it couldn’t open your XML file with the sqlite3 backend.
>
> To make sure I just tested the latest build with a SQLite3 file and it opened without complaint (and without any messages since I didn’t tell it —debug).
>
> Regards,
> John Ralls
>
More information about the gnucash-user
mailing list