1
Fork 0

fix bug in parsing default as all instead of distinct for set operations

This commit is contained in:
Jake Wheat 2014-04-15 13:47:34 +03:00
parent 4989f5251b
commit 8b1fa81de7
4 changed files with 30 additions and 11 deletions
Language/SQL/SimpleSQL

View file

@ -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)