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

Refs #8982
This commit is contained in:
ssongliu 2025-06-10 14:32:34 +08:00 committed by GitHub
parent 1416fb0f6e
commit 1eae519e1a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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,
})
}