From 8f59ca1a8d7093655f8f7d61f101abc6df3839d5 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 24 Mar 2011 12:35:08 +0200 Subject: Generalization work for MySQL and SQLite support --- odb/context.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'odb/context.cxx') 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) -- cgit v1.1