From defe873d7d3a38dbb7dc9ccca5c461ad0345c215 Mon Sep 17 00:00:00 2001 From: Tobie Morgan Hitchcock Date: Fri, 4 Nov 2016 11:17:11 +0000 Subject: [PATCH] Add back in field parsing expressions --- sql/select.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/select.go b/sql/select.go index 2086eda7..e260b4b6 100644 --- a/sql/select.go +++ b/sql/select.go @@ -22,7 +22,7 @@ func (p *parser) parseSelectStatement() (stmt *SelectStatement, err error) { stmt.NS = p.c.Get("NS").(string) stmt.DB = p.c.Get("DB").(string) - if stmt.Expr, err = p.parseExpr(); err != nil { + if stmt.Expr, err = p.parseField(); err != nil { return nil, err }