From 9ad0acf37561de9bf359a561faed53de17c2ca3b Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 21 Nov 2012 13:11:43 +0200 Subject: Add dynamic multi-database query support --- odb/option-functions.cxx | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'odb/option-functions.cxx') 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. -- cgit v1.1