diff --git a/pkg/filter/schema.go b/pkg/filter/schema.go index 6003b43aa..44da977bc 100644 --- a/pkg/filter/schema.go +++ b/pkg/filter/schema.go @@ -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" ) diff --git a/pkg/filter/schema_test.go b/pkg/filter/schema_test.go index d7121222a..63f136723 100644 --- a/pkg/filter/schema_test.go +++ b/pkg/filter/schema_test.go @@ -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}, }