Skip to content

Commit

Permalink
info_schema_tables: do not collect the sys schema
Browse files Browse the repository at this point in the history
Signed-off-by: Florent Rivoire <[email protected]>
  • Loading branch information
frivoire authored Oct 2, 2024
1 parent abc1816 commit 1a62010
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion collector/info_schema_tables.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const (
SELECT
SCHEMA_NAME
FROM information_schema.schemata
WHERE SCHEMA_NAME NOT IN ('mysql', 'performance_schema', 'information_schema')
WHERE SCHEMA_NAME NOT IN ('mysql', 'performance_schema', 'information_schema', 'sys')
`
)

Expand Down

0 comments on commit 1a62010

Please sign in to comment.