aboutsummaryrefslogtreecommitdiff
path: root/odb/relational/mysql/source.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/relational/mysql/source.cxx')
-rw-r--r--odb/relational/mysql/source.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/odb/relational/mysql/source.cxx b/odb/relational/mysql/source.cxx
index 190ca93..02bc74b 100644
--- a/odb/relational/mysql/source.cxx
+++ b/odb/relational/mysql/source.cxx
@@ -185,7 +185,7 @@ namespace relational
{
if (var_override_.empty ())
{
- if (semantics::class_* c = comp_value (mi.t))
+ if (semantics::class_* c = composite (mi.t))
os << "n += " << in_column_count (*c) << "UL;";
else
os << "n++;";
@@ -357,7 +357,7 @@ namespace relational
virtual void
post (member_info& mi)
{
- if (semantics::class_* c = comp_value (mi.t))
+ if (semantics::class_* c = composite (mi.t))
index_ += in_column_count (*c);
else
index_++;
@@ -510,7 +510,7 @@ namespace relational
// "unwrap" it. For simple values this is taken care of
// by the value_traits specializations.
//
- if (mi.wrapper != 0 && comp_value (mi.t))
+ if (mi.wrapper != 0 && composite (mi.t))
{
// Here we need the wrapper type, not the wrapped type.
//
@@ -518,7 +518,7 @@ namespace relational
"get_ref (" + member + ")";
}
- if (comp_value (mi.t))
+ if (composite (mi.t))
traits = "composite_value_traits< " + mi.fq_type () + " >";
else
{
@@ -591,7 +591,7 @@ namespace relational
virtual void
post (member_info& mi)
{
- if (!comp_value (mi.t))
+ if (!composite (mi.t))
{
// When handling a pointer, mi.t is the id type of the referenced
// object.
@@ -779,7 +779,7 @@ namespace relational
// "unwrap" it. For simple values this is taken care of
// by the value_traits specializations.
//
- if (mi.wrapper != 0 && comp_value (mi.t))
+ if (mi.wrapper != 0 && composite (mi.t))
{
// Here we need the wrapper type, not the wrapped type.
//
@@ -787,7 +787,7 @@ namespace relational
"set_ref (" + member + ")";
}
- if (comp_value (mi.t))
+ if (composite (mi.t))
traits = "composite_value_traits< " + mi.fq_type () + " >";
else
{
@@ -839,7 +839,7 @@ namespace relational
virtual void
post (member_info& mi)
{
- if (comp_value (mi.t))
+ if (composite (mi.t))
return;
// When handling a pointer, mi.t is the id type of the referenced