Skip to content

Commit

Permalink
1111
Browse files Browse the repository at this point in the history
  • Loading branch information
ymakedaq committed Nov 29, 2024
1 parent 27f30a2 commit 288fd84
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ func (c *SemanticDumpSchemaComp) Init() (err error) {
}
finaldbs := []string{}
reg := regexp.MustCompile(`^bak_cbs`)
newBackupDbreg := regexp.MustCompile(`^stage_truncate`)
ignoreDBs := computil.GetGcsSystemDatabasesIgnoreTest(version)
if c.isSpider {
// test 库里面的这些表没有主键,导入中控会失败
Expand All @@ -165,6 +166,9 @@ func (c *SemanticDumpSchemaComp) Init() (err error) {
if reg.MatchString(db) {
continue
}
if newBackupDbreg.MatchString(db) {
continue
}
finaldbs = append(finaldbs, db)
}

Expand Down

0 comments on commit 288fd84

Please sign in to comment.