Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Can't call union() more than once because on second call we have a CompoundSelect. Reversing stmt with all-stmts will result in improper nesting. Proposed fix solves this: we collect Select statements into a list, then union the first item with the rest. The list is guaranteed to have at least one item.
- Loading branch information