Don’t allow params inside SQL PathExpressions

This commit is contained in:
Tobie Morgan Hitchcock 2017-11-29 10:21:02 +00:00
parent ba4af9a305
commit 42bbc078e0

View file

@ -845,7 +845,7 @@ func (p *parser) parseJoin() (exp Expr, err error) {
func (p *parser) parseStep() (exp Expr, err error) { func (p *parser) parseStep() (exp Expr, err error) {
toks := []Token{ toks := []Token{
QMARK, IDENT, THING, PARAM, LPAREN, EXPR, MUL, QMARK, IDENT, THING, LPAREN, EXPR, MUL,
} }
tok, lit, _ := p.scan() tok, lit, _ := p.scan()