From: Dennis Schafroth Date: Thu, 19 Apr 2012 10:45:16 +0000 (+0200) Subject: Inherit service settings when creating a new DB for the session DB X-Git-Tag: v1.6.13~36 X-Git-Url: http://sru.miketaylor.org.uk/?a=commitdiff_plain;h=5b9e96b0d4272562f4940736b83489a707ad81ce;p=pazpar2-moved-to-github.git Inherit service settings when creating a new DB for the session DB --- diff --git a/src/session.c b/src/session.c index 207f47c..3fb79b9 100644 --- a/src/session.c +++ b/src/session.c @@ -821,8 +821,7 @@ void session_init_databases(struct session *se) static struct session_database *load_session_database(struct session *se, char *id) { - struct database *db = new_database(id, se->session_nmem); - + struct database *db = new_database_inherit_settings(id, se->session_nmem, se->service->settings); session_init_databases_fun((void*) se, db); // New sdb is head of se->databases list