Skip to content

Commit

Permalink
fix #4475: correct error msg for SHOW TAG VALUES
Browse files Browse the repository at this point in the history
  • Loading branch information
dgnorton committed Oct 16, 2015
1 parent 9d5a66d commit 203a411
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
- [#4460](https://github.com/influxdb/influxdb/issues/4460): tsm1 meta lint
- [#4415](https://github.com/influxdb/influxdb/issues/4415): Selector (like max, min, first, etc) return a string instead of timestamp
- [#4472](https://github.com/influxdb/influxdb/issues/4472): Fix 'too many points in GROUP BY interval' error
- [#4475](https://github.com/influxdb/influxdb/issues/4475): Fix SHOW TAG VALUES error message.

## v0.9.4 [2015-09-14]

Expand Down
2 changes: 1 addition & 1 deletion tsdb/query_executor.go
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,7 @@ func (q *QueryExecutor) writeInto(row *models.Row, selectstmt *influxql.SelectSt
func (q *QueryExecutor) executeShowTagValuesStatement(stmt *influxql.ShowTagValuesStatement, database string) *influxql.Result {
// Check for time in WHERE clause (not supported).
if influxql.HasTimeExpr(stmt.Condition) {
return &influxql.Result{Err: errors.New("SHOW SERIES doesn't support time in WHERE clause")}
return &influxql.Result{Err: errors.New("SHOW TAG VALUES doesn't support time in WHERE clause")}
}

// Find the database.
Expand Down

0 comments on commit 203a411

Please sign in to comment.