0
0
mirror of https://github.com/rbock/sqlpp11.git synced 2024-11-15 20:31:16 +08:00

Fixed serialization of recursive common table expressions

This commit is contained in:
rbock 2015-03-04 07:43:15 +01:00
parent f1dc56a822
commit 3b2f666b53

View File

@ -71,13 +71,11 @@ namespace sqlpp
static Context& _(const T& t, Context& context)
{
context << '(';
serialize(t._lhs, context);
context << ") UNION ";
context << " UNION ";
serialize(Flag{}, context);
context << " (";
context << " ";
serialize(t._rhs, context);
context << ')';
return context;
}
};