Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore: bump omni to 9f7b65d3 and drop the removed PredictStmt (#21714)
Danny Xu486c4b2dd6d9
diff --git a/backend/plugin/db/mssql/stmt_type.go b/backend/plugin/db/mssql/stmt_type.goindex 96ff5723d7..f86dc185cf 100644--- a/backend/plugin/db/mssql/stmt_type.go+++ b/backend/plugin/db/mssql/stmt_type.go@@ -70,7 +70,7 @@ func classifyStmtType(node ast.Node) (stmtType, error) {case *ast.BulkInsertStmt, *ast.InsertBulkStmt, *ast.CopyIntoStmt,*ast.ReadtextStmt, *ast.WritetextStmt, *ast.UpdatetextStmt,- *ast.ReceiveStmt, *ast.PredictStmt:+ *ast.ReceiveStmt:return stmtTypeRowCountGenerating, nilcase *ast.ExecStmt:diff --git a/backend/plugin/parser/tsql/query_type.go b/backend/plugin/parser/tsql/query_type.goindex 07cf71a8f8..b5ad69d1c3 100644--- a/backend/plugin/parser/tsql/query_type.go+++ b/backend/plugin/parser/tsql/query_type.go@@ -39,7 +39,7 @@ func classifyQueryType(node ast.Node, allSystems bool) base.QueryType {case *ast.InsertStmt, *ast.UpdateStmt, *ast.DeleteStmt, *ast.MergeStmt,*ast.BulkInsertStmt, *ast.InsertBulkStmt, *ast.CopyIntoStmt,*ast.ReadtextStmt, *ast.WritetextStmt, *ast.UpdatetextStmt,- *ast.ExecStmt, *ast.ReceiveStmt, *ast.PredictStmt:+ *ast.ExecStmt, *ast.ReceiveStmt:return base.DML// DDL statements.diff --git a/go.mod b/go.modindex 0ab0dac0c1..cfa6e62c89 100644--- a/go.mod+++ b/go.mod@@ -36,7 +36,7 @@ require (github.com/bmatcuk/doublestar/v4 v4.10.0github.com/bytebase/gomongo v0.0.0-20260730033313-67ba6e249735github.com/bytebase/lsp-protocol v0.0.0-20250324071136-1586d0c10ff0- github.com/bytebase/omni v0.0.0-20261029080559-a4ffab6b84c3+ github.com/bytebase/omni v0.0.0-20261030060306-9f7b65d360fdgithub.com/caarlos0/env/v11 v11.4.1github.com/cenkalti/backoff/v7 v7.0.0github.com/cockroachdb/cockroach-go/v2 v2.4.3diff --git a/go.sum b/go.sumindex 13c520a366..ca3ccc7f01 100644--- a/go.sum+++ b/go.sum@@ -252,8 +252,8 @@ github.com/bytebase/gomongo v0.0.0-20260730033313-67ba6e249735 h1:v8y6mXeHmYVsdMgithub.com/bytebase/gomongo v0.0.0-20260730033313-67ba6e249735/go.mod h1:vTHjcvfn8Pmf65WjnV1ytTCYyC7xNhFjrniv4YWvtA8=github.com/bytebase/lsp-protocol v0.0.0-20250324071136-1586d0c10ff0 h1:bJ8NSf2K+pccl5m/wuu97fiYjDwpJH6IzURAq/3XA2U=github.com/bytebase/lsp-protocol v0.0.0-20250324071136-1586d0c10ff0/go.mod h1:BEWMfiZtqshdmulKJcIsWb45MUaEvDO4CROcgi8dfFg=-github.com/bytebase/omni v0.0.0-20261029080559-a4ffab6b84c3 h1:u8QxM45Dt7OJjV+947NtZVFx85v+C+MWZxsIbAFn+6E=-github.com/bytebase/omni v0.0.0-20261029080559-a4ffab6b84c3/go.mod h1:9XZE1hqtvr09Oc+DdLu1/yCb8MDcoy/EPdA4AONDHlE=+github.com/bytebase/omni v0.0.0-20261030060306-9f7b65d360fd h1:yg7l+EYm9Yw2fUNGORdb0FJY8KtIEpQdJ+1JFayeOqc=+github.com/bytebase/omni v0.0.0-20261030060306-9f7b65d360fd/go.mod h1:9XZE1hqtvr09Oc+DdLu1/yCb8MDcoy/EPdA4AONDHlE=github.com/bytebase/pgx/v5 v5.0.0-20250212161523-96ff8aed8767 h1:YuR5G3LcxpO5ScSTA+Kdirxg9RW4TRc/v1t7N2Hfmbw=github.com/bytebase/pgx/v5 v5.0.0-20250212161523-96ff8aed8767/go.mod h1:ncY89UGWxg82EykZUwSpUKEfccBGGYq1xjrOpsbsfGQ=github.com/bytebase/pkcs8 v0.0.0-20240612095628-fcd0a7484c94 h1:6PNsuNmSqCuR8Z616uQLzDIvujWCFsKzeVc3ECmVubk=