Skip to content

Commit

Permalink
Switch on "SHOW DIAGNOSTICS" statement
Browse files Browse the repository at this point in the history
Fix issue #2179
  • Loading branch information
otoolep committed Apr 7, 2015
1 parent 48b3986 commit 6536beb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
### Features
- [#870](https://github.com/influxdb/influxdb/pull/870): Add support for OpenTSDB telnet input protocol. Thanks @tcolgate

### Bugfixes
- [#2181](https://github.com/influxdb/influxdb/pull/2181): Fix panic on "SHOW DIAGNOSTICS".

## v0.9.0-rc20 [2015-04-04]

### Features
Expand Down
2 changes: 2 additions & 0 deletions server.go
Original file line number Diff line number Diff line change
Expand Up @@ -2099,6 +2099,8 @@ func (s *Server) ExecuteQuery(q *influxql.Query, database string, user *User, ch
res = s.executeShowFieldKeysStatement(stmt, database, user)
case *influxql.ShowStatsStatement:
res = s.executeShowStatsStatement(stmt, user)
case *influxql.ShowDiagnosticsStatement:
res = s.executeShowDiagnosticsStatement(stmt, user)
case *influxql.GrantStatement:
res = s.executeGrantStatement(stmt, user)
case *influxql.RevokeStatement:
Expand Down

0 comments on commit 6536beb

Please sign in to comment.