aboutsummaryrefslogtreecommitdiff
path: root/odb/context.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-03-24 12:35:08 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-03-24 12:35:08 +0200
commit8f59ca1a8d7093655f8f7d61f101abc6df3839d5 (patch)
tree2555c001df7b81560bdc3c579f8c84260c168203 /odb/context.cxx
parent9cb4ce54829fb2f091e8690b591440b4369a1387 (diff)
Generalization work for MySQL and SQLite support
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)