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 5ed9b20
Showing 1 changed file with 2 additions and 0 deletions.
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 5ed9b20

Please sign in to comment.