mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Revert "Fix broken test-backend-dbi with libdbi 0.9."
This reverts commit 321a159af2
.
Got two unrelated changes into a single changeset.
This commit is contained in:
parent
321a159af2
commit
46455c7518
@ -34,7 +34,7 @@ GNUCASH_NANO_VERSION=0
|
||||
#src/backend/dbi/gnc-backend-dbi.c:gnc_dbi_load.
|
||||
GNUCASH_RESAVE_VERSION=19920
|
||||
# Initialize automake -- make sure we have at least version 1.9
|
||||
AM_INIT_AUTOMAKE([1.9 dist-bzip2 subdir-objects])
|
||||
AM_INIT_AUTOMAKE([1.9 dist-bzip2])
|
||||
|
||||
# Parse out the version number
|
||||
GNUCASH_VERSION_STRING=AC_PACKAGE_VERSION
|
||||
|
@ -36,7 +36,7 @@
|
||||
|
||||
#if LIBDBI_VERSION >= 900
|
||||
#define HAVE_LIBDBI_R 1
|
||||
static dbi_inst dbi_instance = NULL;
|
||||
static dbi_inst dbi_instance;
|
||||
#else
|
||||
#define HAVE_LIBDBI_R 0
|
||||
#endif
|
||||
@ -597,11 +597,8 @@ test_suite_gnc_backend_dbi (void)
|
||||
dbi_driver driver = NULL;
|
||||
GList *drivers = NULL;
|
||||
#if HAVE_LIBDBI_R
|
||||
if (dbi_instance == NULL)
|
||||
dbi_initialize_r (NULL, &dbi_instance);
|
||||
while ((driver = dbi_driver_list_r (driver, dbi_instance)))
|
||||
#else
|
||||
dbi_initialize (NULL);
|
||||
while ((driver = dbi_driver_list (driver)))
|
||||
#endif
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user