diff --git a/include/sqlpp11/cte.h b/include/sqlpp11/cte.h index 520d353f..85105317 100644 --- a/include/sqlpp11/cte.h +++ b/include/sqlpp11/cte.h @@ -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; } };