Refactor db package and remove unnecessary DumpTables (#32930)

This commit is contained in:
wxiaoguang
2024-12-21 00:11:38 +08:00
committed by GitHub
parent 7580bd98c1
commit 1c9b022c4d
10 changed files with 247 additions and 221 deletions

View File

@@ -140,7 +140,7 @@ func CheckCollations(x *xorm.Engine) (*CheckCollationsResult, error) {
}
func CheckCollationsDefaultEngine() (*CheckCollationsResult, error) {
return CheckCollations(x)
return CheckCollations(xormEngine)
}
func alterDatabaseCollation(x *xorm.Engine, collation string) error {