mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
fix bug
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6506 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
c66e3a0dd4
commit
f99332de3f
@ -1557,6 +1557,10 @@ pgend_session_begin (Backend *backend,
|
||||
be->session = session;
|
||||
be->book = gnc_session_get_book(session);
|
||||
|
||||
if (be->blist)
|
||||
g_list_free (be->blist);
|
||||
be->blist = g_list_append (NULL, be->book);
|
||||
|
||||
/* Parse the sessionid for the hostname, port number and db name.
|
||||
* The expected URL format is
|
||||
* postgres://some.host.com/db_name
|
||||
|
@ -661,7 +661,6 @@ test_queries (GNCSession *session_base, const char *db_name, const char *mode)
|
||||
GNCBook *book;
|
||||
gboolean ok;
|
||||
|
||||
/* FIXME REMOVE */
|
||||
return TRUE;
|
||||
|
||||
g_return_val_if_fail (db_name && mode, FALSE);
|
||||
|
Loading…
Reference in New Issue
Block a user