Allow any expression for SELECT VERSION string
This commit is contained in:
parent
7bf408336d
commit
db37b8378b
1 changed files with 1 additions and 6 deletions
|
@ -369,11 +369,6 @@ func (p *parser) parseVersion() (Expr, error) {
|
|||
return nil, nil
|
||||
}
|
||||
|
||||
tok, lit, err := p.shouldBe(DATE, TIME, PARAM)
|
||||
if err != nil {
|
||||
return nil, &ParseError{Found: lit, Expected: []string{"version date or time"}}
|
||||
}
|
||||
|
||||
return p.declare(tok, lit)
|
||||
return p.parseExpr()
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue