summaryrefslogtreecommitdiff
path: root/odb/relational/mysql/source.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-11-09 20:19:17 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-11-09 20:19:17 +0200
commit9072761e0c9486cc3d1265a1c1e2b39db8e68bf7 (patch)
tree1e284d8088e51a962bd285b02f8096ed088463ee /odb/relational/mysql/source.cxx
parentdfba83f1ef3b5856d36dc29da0b6e02f51bc36b3 (diff)
Make sure we can use same type as both container and simple value
Diffstat (limited to 'odb/relational/mysql/source.cxx')
-rw-r--r--odb/relational/mysql/source.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/odb/relational/mysql/source.cxx b/odb/relational/mysql/source.cxx
index 6a05878..576f80c 100644
--- a/odb/relational/mysql/source.cxx
+++ b/odb/relational/mysql/source.cxx
@@ -183,7 +183,7 @@ namespace relational
virtual bool
pre (member_info& mi)
{
- if (container (mi.t))
+ if (container (mi))
return false;
ostringstream ostr;
@@ -428,7 +428,7 @@ namespace relational
virtual bool
pre (member_info& mi)
{
- if (container (mi.t))
+ if (container (mi))
return false;
ostringstream ostr;
@@ -580,7 +580,7 @@ namespace relational
// Ignore containers (they get their own table) and inverse
// object pointers (they are not present in this binding).
//
- if (container (mi.t) || inverse (mi.m, key_prefix_))
+ if (container (mi) || inverse (mi.m, key_prefix_))
return false;
if (!member_override_.empty ())
@@ -872,7 +872,7 @@ namespace relational
virtual bool
pre (member_info& mi)
{
- if (container (mi.t))
+ if (container (mi))
return false;
if (!member_override_.empty ())