fix bug in parsing default as all instead of distinct for set operations
This commit is contained in:
parent
4989f5251b
commit
8b1fa81de7
4 changed files with 30 additions and 11 deletions
Language/SQL/SimpleSQL
|
@ -747,7 +747,7 @@ and union, etc..
|
|||
> [Union <$ keyword_ "union"
|
||||
> ,Intersect <$ keyword_ "intersect"
|
||||
> ,Except <$ keyword_ "except"])
|
||||
> <*> (fromMaybe All <$> duplicates)
|
||||
> <*> (fromMaybe Distinct <$> duplicates)
|
||||
> <*> option Respectively
|
||||
> (try (Corresponding <$ keyword_ "corresponding"))
|
||||
> <*> queryExpr)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue