SHOW DIAGNOSTICS is not yet (re)implemented

pull/2893/head
Philip O'Toole 2015-06-10 15:49:00 -07:00
parent 659646b404
commit 10ca99ffb8
1 changed files with 2 additions and 2 deletions

View File

@ -973,13 +973,13 @@ func (q *QueryExecutor) executeShowStatsStatement(stmt *influxql.ShowStatsStatem
} }
func (q *QueryExecutor) executeShowDiagnosticsStatement(stmt *influxql.ShowDiagnosticsStatement) *influxql.Result { func (q *QueryExecutor) executeShowDiagnosticsStatement(stmt *influxql.ShowDiagnosticsStatement) *influxql.Result {
return &influxql.Result{Series: q.DiagnosticsAsRows()} return &influxql.Result{Err: fmt.Errorf("not implemented")}
} }
// DiagnosticsAsRows returns diagnostic information about the server, as a slice of // DiagnosticsAsRows returns diagnostic information about the server, as a slice of
// InfluxQL rows. // InfluxQL rows.
func (q *QueryExecutor) DiagnosticsAsRows() []*influxql.Row { func (q *QueryExecutor) DiagnosticsAsRows() []*influxql.Row {
panic("not yet implemented") return nil
/* /*
s.mu.RLock() s.mu.RLock()
defer s.mu.RUnlock() defer s.mu.RUnlock()