projects
/
pazpar2-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95b9c28
)
Inherit service settings when creating a new DB for the session DB
author
Dennis Schafroth
<dennis@indexdata.com>
Thu, 19 Apr 2012 10:45:16 +0000
(12:45 +0200)
committer
Dennis Schafroth
<dennis@indexdata.com>
Thu, 19 Apr 2012 10:45:16 +0000
(12:45 +0200)
src/session.c
patch
|
blob
|
history
diff --git
a/src/session.c
b/src/session.c
index
207f47c
..
3fb79b9
100644
(file)
--- 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