Skip to content

Commit

Permalink
filter: update metric schema name (#324)
Browse files Browse the repository at this point in the history
* update metric schema name

* fix
  • Loading branch information
lichunzhu authored Mar 15, 2020
1 parent f5b83d4 commit 6bea09b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pkg/filter/schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ var (
InformationSchemaName = "INFORMATION_SCHEMA"
// PerformanceSchemaName is the `PERFORMANCE_SCHEMA` database name.
PerformanceSchemaName = "PERFORMANCE_SCHEMA"
// MetricSchemaName is the `METRIC_SCHEMA` database name.
MetricSchemaName = "METRIC_SCHEMA"
// MetricSchemaName is the `METRICS_SCHEMA` database name.
MetricSchemaName = "METRICS_SCHEMA"
// InspectionSchemaName is the `INSPECTION_SCHEMA` database name
InspectionSchemaName = "INSPECTION_SCHEMA"
)
Expand Down
2 changes: 1 addition & 1 deletion pkg/filter/schema_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func (s *testFilterSuite) TestIsSystemSchema(c *C) {
{"MYSQL", true},
{"SYS", true},
{"not_system_schema", false},
{"METRIC_SCHEMA", true},
{"METRICS_SCHEMA", true},
{"INSPECTION_SCHEMA", true},
}

Expand Down

0 comments on commit 6bea09b

Please sign in to comment.