Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: update error message

d-bytebase00cdaba3cb1b
diff --git a/backend/plugin/parser/sql/utils.go b/backend/plugin/parser/sql/utils.go
index 703f02a15c..0f1ed022a5 100644
--- a/backend/plugin/parser/sql/utils.go
+++ b/backend/plugin/parser/sql/utils.go
@@ -26,10 +26,7 @@ func ExtractChangedResources(engineType storepb.Engine, currentDatabase string,
case storepb.Engine_ORACLE, storepb.Engine_DM:
return plsqlparser.ExtractChangedResources(currentDatabase, currentSchema, sql)
default:
- if currentDatabase == "" {
- return nil, errors.Errorf("database must be specified for engine type: %s", engineType)
- }
- return nil, errors.Errorf("engine type %q is not supported", engineType)
+ return nil, errors.Errorf("engine type is not supported: %s", engineType)
}
}