mirror of
https://github.com/rbock/sqlpp11.git
synced 2024-11-16 04:47:18 +08:00
Fixed serialization of recursive common table expressions
This commit is contained in:
parent
f1dc56a822
commit
3b2f666b53
@ -71,13 +71,11 @@ namespace sqlpp
|
|||||||
|
|
||||||
static Context& _(const T& t, Context& context)
|
static Context& _(const T& t, Context& context)
|
||||||
{
|
{
|
||||||
context << '(';
|
|
||||||
serialize(t._lhs, context);
|
serialize(t._lhs, context);
|
||||||
context << ") UNION ";
|
context << " UNION ";
|
||||||
serialize(Flag{}, context);
|
serialize(Flag{}, context);
|
||||||
context << " (";
|
context << " ";
|
||||||
serialize(t._rhs, context);
|
serialize(t._rhs, context);
|
||||||
context << ')';
|
|
||||||
return context;
|
return context;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user