diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-11-21 13:11:43 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-11-21 13:13:50 +0200 |
commit | 9ad0acf37561de9bf359a561faed53de17c2ca3b (patch) | |
tree | 4b38b866a4917992a6e22cde9f22539e08d4ed9e /odb/option-functions.cxx | |
parent | d01c8e22abea35477f21488613f2474a2e4e8fc7 (diff) |
Add dynamic multi-database query support
Diffstat (limited to 'odb/option-functions.cxx')
-rw-r--r-- | odb/option-functions.cxx | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/odb/option-functions.cxx b/odb/option-functions.cxx index b0b2523..075e8ab 100644 --- a/odb/option-functions.cxx +++ b/odb/option-functions.cxx @@ -71,12 +71,9 @@ process_options (options& o) } else { - o.odb_file_suffix ().insert ( - make_pair (db, string ("-odb-") + db.string ())); - o.sql_file_suffix ().insert ( - make_pair (db, string ("-") + db.string ())); - o.schema_file_suffix ().insert ( - make_pair (db, string ("-schema-") + db.string ())); + o.odb_file_suffix ().insert (make_pair (db, "-odb-" + db.string ())); + o.sql_file_suffix ().insert (make_pair (db, "-" + db.string ())); + o.schema_file_suffix ().insert (make_pair (db, "-schema-" + db.string ())); } // Set default --default-database value. |