From ac868694eb5d58c6cc1af6c25ca033917094d480 Mon Sep 17 00:00:00 2001 From: Tobie Morgan Hitchcock Date: Mon, 20 Feb 2017 01:18:13 +0000 Subject: [PATCH] Enable query params for VERSION in queries --- sql/select.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/select.go b/sql/select.go index bf1939b3..99023b46 100644 --- a/sql/select.go +++ b/sql/select.go @@ -298,7 +298,7 @@ func (p *parser) parseVersion() (Expr, error) { return nil, nil } - tok, lit, err := p.shouldBe(DATE, TIME) + tok, lit, err := p.shouldBe(DATE, TIME, PARAM) if err != nil { return nil, &ParseError{Found: lit, Expected: []string{"timestamp"}} }