From 9f0b648c14bbb6dbb1a36c9bd4d88c5773c72ca0 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 29 Nov 2012 11:32:43 +0200 Subject: Namespace management for static multi-database support Now in libodb the odb::core namespace is split into odb::common (database- independent stuff) and odb::core proper, which imports odb::common. Each database runtime now defines odb::::core namespace which also imports odb::common and adds the database-specific bits. The overall idea is that one can do using namespace odb::::core just like for odb::core. --- odb/mssql/query.hxx | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'odb/mssql/query.hxx') diff --git a/odb/mssql/query.hxx b/odb/mssql/query.hxx index 356ed58..d9a84e4 100644 --- a/odb/mssql/query.hxx +++ b/odb/mssql/query.hxx @@ -2376,6 +2376,11 @@ namespace odb { } }; + + namespace core + { + using mssql::query; + } } // Derive odb::query from odb::mssql::query so that it can be -- cgit v1.1