diff --git a/server.go b/server.go index a596ea6f67..4064d4b642 100644 --- a/server.go +++ b/server.go @@ -2156,9 +2156,8 @@ func (s *Server) executeShowMeasurementsStatement(stmt *influxql.ShowMeasurement // Make result. result := &Result{ - Rows: make(influxql.Rows, 1), + Rows: influxql.Rows{row}, } - result.Rows[0] = row return result }