From 9627f5ab8477bc9eb0509b29d4efaa205bef4943 Mon Sep 17 00:00:00 2001 From: David Norton Date: Fri, 9 Oct 2015 18:38:33 -0400 Subject: [PATCH] fix #4280: add comments based on code review --- tsdb/query_executor.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tsdb/query_executor.go b/tsdb/query_executor.go index e600cd44f7..641ef517eb 100644 --- a/tsdb/query_executor.go +++ b/tsdb/query_executor.go @@ -452,9 +452,11 @@ func (q *QueryExecutor) executeDropSeriesStatement(stmt *influxql.DropSeriesStat } // Delete boolean literal true filter expressions. + // These are returned for `WHERE tagKey = 'tagVal'` type expressions and are okay. filters.DeleteBoolLiteralTrues() // Check for unsupported field filters. + // Any remaining filters means there were fields (e.g., `WHERE value = 1.2`). if filters.Len() > 0 { return &influxql.Result{Err: errors.New("DROP SERIES doesn't support fields in WHERE clause")} }