Skip to content

Commit

Permalink
domain: fix data race in test with stmtsummary (#42133)
Browse files Browse the repository at this point in the history
close #42128
  • Loading branch information
mornyx authored Mar 13, 2023
1 parent 51c22cd commit 5fc1875
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion domain/extract_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ func closeStmtSummary() {
conf.Instance.StmtSummaryEnablePersistent = false
})
stmtsummaryv2.GlobalStmtSummary.Close()
stmtsummaryv2.GlobalStmtSummary = nil
_ = os.Remove(config.GetGlobalConfig().Instance.StmtSummaryFilename)
}

Expand Down

0 comments on commit 5fc1875

Please sign in to comment.