diff options
Diffstat (limited to 'common/view/basics/driver.cxx')
-rw-r--r-- | common/view/basics/driver.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/common/view/basics/driver.cxx b/common/view/basics/driver.cxx index 652da58..c1108d7 100644 --- a/common/view/basics/driver.cxx +++ b/common/view/basics/driver.cxx @@ -720,7 +720,7 @@ main (int argc, char* argv[]) t.commit (); } -#if !defined(DATABASE_SQLITE) +#if !defined(DATABASE_SQLITE) && !defined(DATABASE_COMMON) { typedef odb::query<vright> query; typedef odb::result<vright> result; @@ -737,7 +737,9 @@ main (int argc, char* argv[]) } #endif -#if !defined(DATABASE_MYSQL) && !defined(DATABASE_SQLITE) +#if !defined(DATABASE_MYSQL) && \ + !defined(DATABASE_SQLITE) && \ + !defined(DATABASE_COMMON) { typedef odb::query<vfull> query; typedef odb::result<vfull> result; |