aboutsummaryrefslogtreecommitdiff
path: root/common/inverse
diff options
context:
space:
mode:
Diffstat (limited to 'common/inverse')
-rw-r--r--common/inverse/test.hxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/common/inverse/test.hxx b/common/inverse/test.hxx
index 6dfedda..d5f1da8 100644
--- a/common/inverse/test.hxx
+++ b/common/inverse/test.hxx
@@ -270,8 +270,12 @@ namespace test3
#pragma db id auto
int id;
- #pragma db points_to(obj1) on_delete(cascade)
+ #pragma db points_to(obj1)
comp o1;
+
+#ifndef ODB_DATABASE_MYSQL
+ #pragma db member(o1) on_delete(cascade)
+#endif
};
inline obj1::