addressing nit

pull/1629/head
Cory LaNou 2015-02-21 17:02:10 -07:00
parent 5df9726c3b
commit 7d74ccac6a
1 changed files with 1 additions and 2 deletions

View File

@ -861,8 +861,7 @@ func (p *Parser) parseDropSeriesStatement() (*DropSeriesStatement, error) {
stmt := &DropSeriesStatement{}
var err error
tok, _, _ := p.scanIgnoreWhitespace()
if tok == FROM {
if tok, _, _ := p.scanIgnoreWhitespace(); tok == FROM {
// Parse source.
if stmt.Source, err = p.parseSource(); err != nil {
return nil, err