Added serialization to MockDb run methods

Implicitly increased number of serialization tests.
Fixed serialization for logical_not
This commit is contained in:
rbock
2014-08-04 18:24:51 +02:00
parent cc512d0955
commit c9372eff89
2 changed files with 20 additions and 3 deletions
+3 -1
View File
@@ -165,7 +165,7 @@ namespace sqlpp
context << "(";
if (trivial_value_is_null_t<Rhs>::value)
{
serialize(t._lhs, context);
serialize(t._rhs, context);
context << " IS NULL ";
}
else
@@ -174,6 +174,8 @@ namespace sqlpp
serialize(t._rhs, context);
}
context << ")";
return context;
}
};