diff options
Diffstat (limited to 'libcommon/common/concrete.hxx')
-rw-r--r-- | libcommon/common/concrete.hxx | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/libcommon/common/concrete.hxx b/libcommon/common/concrete.hxx deleted file mode 100644 index 2014b24..0000000 --- a/libcommon/common/concrete.hxx +++ /dev/null @@ -1,57 +0,0 @@ -// file : libcommon/common/concrete.hxx -// license : GNU GPL v2; see accompanying LICENSE file - -#ifndef LIBCOMMON_COMMON_CONCRETE_HXX -#define LIBCOMMON_COMMON_CONCRETE_HXX - -#include <common/config.hxx> - -// Namespace alias for the concrete database namespace. -// -#if defined(DATABASE_MYSQL) - -#include <odb/mysql/database.hxx> -#include <odb/mysql/transaction.hxx> - -namespace odb_db = odb::mysql; - -#elif defined(DATABASE_SQLITE) - -#include <odb/sqlite/database.hxx> -#include <odb/sqlite/transaction.hxx> - -namespace odb_db = odb::sqlite; - -#elif defined(DATABASE_PGSQL) - -#include <odb/pgsql/database.hxx> -#include <odb/pgsql/transaction.hxx> - -namespace odb_db = odb::pgsql; - -#elif defined(DATABASE_ORACLE) - -#include <odb/oracle/database.hxx> -#include <odb/oracle/transaction.hxx> - -namespace odb_db = odb::oracle; - -#elif defined(DATABASE_MSSQL) - -#include <odb/mssql/database.hxx> -#include <odb/mssql/transaction.hxx> - -namespace odb_db = odb::mssql; - -#elif defined(DATABASE_COMMON) - -// Fallback to common interface. -// -#include <odb/database.hxx> -#include <odb/transaction.hxx> - -namespace odb_db = odb; - -#endif - -#endif // LIBCOMMON_COMMON_CONCRETE_HXX |