Skip to content

Commit

Permalink
Merge pull request #687 from cezmunsta/fix-infoSchemaInnodbMetricsEna…
Browse files Browse the repository at this point in the history
…bledColumnQuery

Fix infoSchemaInnodbMetricsEnabledColumnQuery
  • Loading branch information
SuperQ committed Apr 14, 2023
2 parents 35ddd2b + e25198d commit 7f4eb83
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion collector/info_schema_innodb_metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,10 @@ const infoSchemaInnodbMetricsEnabledColumnQuery = `
SELECT
column_name
FROM information_schema.columns
WHERE table_name = 'INNODB_METRICS'
WHERE table_schema = 'information_schema'
AND table_name = 'INNODB_METRICS'
AND column_name IN ('status', 'enabled')
LIMIT 1
`

const infoSchemaInnodbMetricsQuery = `
Expand Down

0 comments on commit 7f4eb83

Please sign in to comment.