mirror of
https://gitee.com/gitea/gitea
synced 2025-11-03 08:00:24 +08:00
Replace #23350. Refactor `setting.Database.UseMySQL` to `setting.Database.Type.IsMySQL()`. To avoid mismatching between `Type` and `UseXXX`. This refactor can fix the bug mentioned in #23350, so it should be backported.