summaryrefslogtreecommitdiff
path: root/odb/context.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/context.cxx')
-rw-r--r--odb/context.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/odb/context.cxx b/odb/context.cxx
index 090b13c..e2096d9 100644
--- a/odb/context.cxx
+++ b/odb/context.cxx
@@ -109,6 +109,7 @@ context (ostream& os_,
os (data_->os_),
unit (u),
options (ops),
+ db (options.database ()),
keyword_set (data_->keyword_set_),
embedded_schema (ops.generate_schema () &&
ops.schema_format ().count (schema_format::embedded)),
@@ -127,6 +128,7 @@ context ()
os (current ().os),
unit (current ().unit),
options (current ().options),
+ db (current ().db),
keyword_set (current ().keyword_set),
embedded_schema (current ().embedded_schema),
object (current ().object)