diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-10-29 10:03:36 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-10-29 10:03:36 +0200 |
commit | f8677f8bfaa68e6714f4af7b030d0f365e60b918 (patch) | |
tree | 5f64e69bd7261348d966b80d0433f6bd34be76f2 /odb/relational | |
parent | 938d136b09b868f633574c722d48c2953dde1be4 (diff) |
Add support for database prefixes in command line interface
Diffstat (limited to 'odb/relational')
-rw-r--r-- | odb/relational/schema.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/relational/schema.hxx b/odb/relational/schema.hxx index a236fd5..63ab860 100644 --- a/odb/relational/schema.hxx +++ b/odb/relational/schema.hxx @@ -943,7 +943,7 @@ namespace relational os << "static const schema_catalog_entry" << endl << "schema_catalog_entry_" << flat_name (type) << "_ (" << endl << "id_" << db << "," << endl - << strlit (options.schema_name ()) << "," << endl + << strlit (options.schema_name ()[db]) << "," << endl << "&" << traits << "::create_schema);" << endl; } |