fix: Fix the problem of failed backup of all databases for cronjob (#8990)

Refs #8982
This commit is contained in:
ssongliu
2025-06-10 06:32:34 +00:00
committed by GitHub
parent 1416fb0f6e
commit 1eae519e1a
+1 -1
View File
@@ -315,7 +315,7 @@ func loadDbsForJob(cronjob model.Cronjob) []DatabaseHelper {
dbs = append(dbs, DatabaseHelper{
ID: mysql.ID,
DBType: cronjob.DBType,
Database: mysql.Name,
Database: mysql.Database,
Name: mysql.Name,
})
}