mirror of
https://github.com/Gnucash/gnucash.git
synced 2024-11-25 10:20:18 -06:00
Don't look for dbi drivers if dbi_initialize failed.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19237 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
5b17cdc05c
commit
a13c740c7f
@ -1033,8 +1033,9 @@ gnc_module_init_backend_dbi(void)
|
||||
PINFO( "GNC_DBD_DIR not set: using libdbi built-in default\n");
|
||||
}
|
||||
|
||||
/* dbi_initialize returns -1 in case of errors */
|
||||
num_drivers = dbi_initialize( driver_dir );
|
||||
if ( num_drivers == 0 )
|
||||
if ( num_drivers <= 0 )
|
||||
{
|
||||
PWARN( "No DBD drivers found\n" );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user