From d1ad30f7a517e69bc87d1347224f1c9ab38493b3 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 25 Oct 2012 10:35:36 +0200 Subject: Static multi-database support Add new options (--multi-database, --default-database). Generate common code to -odb.?xx files and database-specific to -odb-.?xx. --- odb/include.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'odb/include.cxx') diff --git a/odb/include.cxx b/odb/include.cxx index 3d17b9a..c842010 100644 --- a/odb/include.cxx +++ b/odb/include.cxx @@ -688,7 +688,7 @@ namespace include } path f (inc->path_.base ()); - f += ctx.options.odb_file_suffix (); + f += ctx.options.odb_file_suffix ()[ctx.options.database ()[0]]; f += ctx.options.hxx_suffix (); char o (inc->type_ == include_directive::quote ? '"' : '<'); -- cgit v1.1