mirror of
https://github.com/rbock/sqlpp11.git
synced 2026-01-04 12:10:43 -06:00
Fixed bug in in() serialization
in(select(...)) did have an extra set of braces, which lead to different behaviour. Thanks to Thomas Marsh for finding the bug
This commit is contained in:
@@ -179,6 +179,9 @@ int main()
|
||||
printer.reset();
|
||||
std::cerr << serialize(x, printer).str() << std::endl;
|
||||
|
||||
printer.reset();
|
||||
std::cerr << serialize(select(all_of(t)).from(t).where(t.alpha.in(select(f.epsilon).from(f).where(true))), printer).str() << std::endl;
|
||||
|
||||
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user