git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6506 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Dave Peticolas 2002-01-04 23:46:47 +00:00
parent c66e3a0dd4
commit f99332de3f
2 changed files with 4 additions and 1 deletions

View File

@ -1557,6 +1557,10 @@ pgend_session_begin (Backend *backend,
be->session = session; be->session = session;
be->book = gnc_session_get_book(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. /* Parse the sessionid for the hostname, port number and db name.
* The expected URL format is * The expected URL format is
* postgres://some.host.com/db_name * postgres://some.host.com/db_name

View File

@ -661,7 +661,6 @@ test_queries (GNCSession *session_base, const char *db_name, const char *mode)
GNCBook *book; GNCBook *book;
gboolean ok; gboolean ok;
/* FIXME REMOVE */
return TRUE; return TRUE;
g_return_val_if_fail (db_name && mode, FALSE); g_return_val_if_fail (db_name && mode, FALSE);