aboutsummaryrefslogtreecommitdiff
path: root/common/view/basics/test.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-02-07 15:44:02 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-02-07 15:44:02 +0200
commit098b528e2deddd128a05d91ea6b7a555a74b22b2 (patch)
tree4fd7ed66b89338503c48cd9e65ec351f6d09e35a /common/view/basics/test.hxx
parent52a33f8244e7229b23484259370b4d6c11be492d (diff)
Disable parts of test for multi-database case
Since not all the databases support them (JOIN types).
Diffstat (limited to 'common/view/basics/test.hxx')
-rw-r--r--common/view/basics/test.hxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/common/view/basics/test.hxx b/common/view/basics/test.hxx
index 7af255c..87c4d76 100644
--- a/common/view/basics/test.hxx
+++ b/common/view/basics/test.hxx
@@ -546,7 +546,7 @@ namespace test2
odb::nullable<int> id2;
};
-#if !defined(DATABASE_SQLITE)
+#if !defined(DATABASE_SQLITE) && !defined(DATABASE_COMMON)
#pragma db view object(obj2 = o2) object(obj1 = o1 right: o2::n == o1::n)
struct vright
@@ -557,7 +557,9 @@ namespace test2
#endif
-#if !defined(DATABASE_MYSQL) && !defined(DATABASE_SQLITE)
+#if !defined(DATABASE_MYSQL) && \
+ !defined(DATABASE_SQLITE) && \
+ !defined(DATABASE_COMMON)
#pragma db view object(obj1 = o1) object(obj2 = o2 full: o1::n == o2::n)
struct vfull