aboutsummaryrefslogtreecommitdiff
path: root/odb/relational/source.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-10-31 07:59:18 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-11-21 13:13:50 +0200
commit8a637f5697fdee3e7ae2d46f64a64d40cba5954b (patch)
treec0255a90876c464803245a39f8505898ab6a3f74 /odb/relational/source.hxx
parent2b7b3e9d9e69bbf0fdd6ce1a8564765027580d10 (diff)
Add dynamic multi-database support excluding query
Diffstat (limited to 'odb/relational/source.hxx')
-rw-r--r--odb/relational/source.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/odb/relational/source.hxx b/odb/relational/source.hxx
index 8d57b1b..a9c5bb1 100644
--- a/odb/relational/source.hxx
+++ b/odb/relational/source.hxx
@@ -3669,6 +3669,9 @@ namespace relational
if (embedded_schema)
os << "#include <odb/schema-catalog-impl.hxx>" << endl;
+ if (options.multi_database () == multi_database::dynamic)
+ os << "#include <odb/function-table.hxx>" << endl;
+
os << endl;
os << "#include <odb/" << db << "/traits.hxx>" << endl