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
|
return nil, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
tok, lit, err := p.shouldBe(DATE, TIME, PARAM)
|
return p.parseExpr()
|
||||||
if err != nil {
|
|
||||||
return nil, &ParseError{Found: lit, Expected: []string{"version date or time"}}
|
|
||||||
}
|
|
||||||
|
|
||||||
return p.declare(tok, lit)
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue