Commit f4f69737 authored by Geoff Simmons's avatar Geoff Simmons

Bugfix parsing queries with parens for boolean grouping.

parent cdb0f10b
......@@ -348,7 +348,7 @@ func (parser *qParser) parseExprGrp() (*qExpr, error) {
if err != nil {
return nil, err
}
if parser.tok.tokType != char || parser.tok.scanType == ')' {
if parser.tok.tokType != char || parser.tok.scanType != ')' {
return nil, parser.unexpected("')'")
}
if err := parser.advToken(); err != nil {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment