From 5b9e96b0d4272562f4940736b83489a707ad81ce Mon Sep 17 00:00:00 2001 From: Dennis Schafroth Date: Thu, 19 Apr 2012 12:45:16 +0200 Subject: [PATCH] Inherit service settings when creating a new DB for the session DB --- src/session.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 -- 1.7.10.4