0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-27 00:05:40 +01:00
gitea/models/db
Jason Song c84238800b
Refactor setting.Database.UseXXX to methods (#23354)
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.
2023-03-07 18:51:06 +08:00
..
install
paginator
common.go Refactor setting.Database.UseXXX to methods (#23354) 2023-03-07 18:51:06 +08:00
consistency.go
context_committer_test.go
context_test.go
context.go
convert.go
engine_test.go
engine.go Refactor setting.Database.UseXXX to methods (#23354) 2023-03-07 18:51:06 +08:00
error.go
index_test.go
index.go Refactor setting.Database.UseXXX to methods (#23354) 2023-03-07 18:51:06 +08:00
iterate_test.go
iterate.go
list_test.go Fix db.Find bug (#23115) 2023-02-24 21:17:09 +08:00
list.go Fix db.Find bug (#23115) 2023-02-24 21:17:09 +08:00
log.go
main_test.go
name.go
search.go
sequence.go Refactor setting.Database.UseXXX to methods (#23354) 2023-03-07 18:51:06 +08:00
sql_postgres_with_schema.go