allow current_timestamp to be parsed, bump version
This commit is contained in:
parent
9f4a457a4d
commit
3707a09cb8
4 changed files with 16 additions and 10 deletions
tools/Language/SQL/SimpleSQL
|
@ -13,6 +13,12 @@ query expressions from one string.
|
|||
> ,("select 1;",[ms])
|
||||
> ,("select 1;select 1",[ms,ms])
|
||||
> ,(" select 1;select 1; ",[ms,ms])
|
||||
> ,("SELECT CURRENT_TIMESTAMP;"
|
||||
> ,[SelectStatement $ makeSelect
|
||||
> {qeSelectList = [(Iden [Name Nothing "CURRENT_TIMESTAMP"],Nothing)]}])
|
||||
> ,("SELECT \"CURRENT_TIMESTAMP\";"
|
||||
> ,[SelectStatement $ makeSelect
|
||||
> {qeSelectList = [(Iden [Name (Just ("\"","\"")) "CURRENT_TIMESTAMP"],Nothing)]}])
|
||||
> ]
|
||||
> where
|
||||
> ms = SelectStatement $ makeSelect {qeSelectList = [(NumLit "1",Nothing)]}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue