Skip to content

Unions not supported in subqueries #63

@muglug

Description

@muglug

Found and fixed this bug in the PHP version:

This query

SELECT * FROM (SELECT * FROM `foo` UNION ALL SELECT * FROM `bar`) AS `baz`

is treated as

SELECT * FROM (SELECT * FROM `foo`) AS `baz`

Here's the commit with the fix in the PHP version, you should be able to port it relatively straightforwardly if you run into the same issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions