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: remove unwanted Printf (#1091)
Danny Xu3858b979f408
diff --git a/plugin/advisor/mysql/mysql_migration_compatibility_advisor.go b/plugin/advisor/mysql/mysql_migration_compatibility_advisor.goindex b2018b8eee..2d45b132ee 100644--- a/plugin/advisor/mysql/mysql_migration_compatibility_advisor.go+++ b/plugin/advisor/mysql/mysql_migration_compatibility_advisor.go@@ -72,7 +72,6 @@ func (v *compatibilityChecker) Enter(in ast.Node) (ast.Node, bool) {// ALTER TABLEcase *ast.AlterTableStmt:for _, spec := range node.Specs {- fmt.Printf("spec %d: %+v\n\n", spec.Tp, spec)// RENAME COLUMNif spec.Tp == ast.AlterTableRenameColumn {code = common.CompatibilityRenameColumndiff --git a/server/sql.go b/server/sql.goindex 8558d38117..b385b83793 100644--- a/server/sql.go+++ b/server/sql.go@@ -254,7 +254,6 @@ func (s *Server) syncEngineVersionAndSchema(ctx context.Context, instance *api.I// Sync schemauserList, schemaList, err := driver.SyncSchema(ctx)if err != nil {- fmt.Printf("sync schema error: %v\n", err)resultSet.Error = err.Error()} else {var createTable = func(database *api.Database, tableCreate *api.TableCreate) (*api.Table, error) {diff --git a/store/environment.go b/store/environment.goindex 74e108187b..0c1b949dfe 100644--- a/store/environment.go+++ b/store/environment.go@@ -244,7 +244,6 @@ func (s *Store) createEnvironmentImpl(ctx context.Context, tx *sql.Tx, create *aORDER BY "order" DESCLIMIT 1`)- fmt.Printf("Yang1: %v\n", err1)if err1 != nil {return nil, FormatError(err1)}@@ -254,7 +253,6 @@ func (s *Store) createEnvironmentImpl(ctx context.Context, tx *sql.Tx, create *aif err1 := row1.Scan(&order,); err1 != nil {- fmt.Printf("Yang2: %v\n", err1)return nil, FormatError(err1)}if err := row1.Close(); err != nil {@@ -278,7 +276,6 @@ func (s *Store) createEnvironmentImpl(ctx context.Context, tx *sql.Tx, create *aorder+1,)- fmt.Printf("Yang3: %v\n", err2)if err2 != nil {return nil, FormatError(err2)}@@ -296,7 +293,6 @@ func (s *Store) createEnvironmentImpl(ctx context.Context, tx *sql.Tx, create *a&envRaw.Name,&envRaw.Order,); err != nil {- fmt.Printf("Yang4: %v\n", err)return nil, FormatError(err)}