0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-28 01:58:20 +01:00
gitea/models/db
Jason Song c6c4d66004
Fix misuse of TxContext (#30061)
Help #29999, or its tests cannot pass.

Also, add some comments to clarify the usage of `TxContext`.

I don't check all usages of `TxContext` because there are too many
(almost 140+). It's a better idea to replace them with `WithTx` instead
of checking them one by one. However, that may be another refactoring
PR.
2024-03-25 15:00:16 +08:00
..
install
paginator Move more functions to db.Find (#28419) 2024-01-15 02:19:25 +00:00
collation.go Partially enable MSSQL case-sensitive collation support (#29238) 2024-03-08 03:19:35 +00:00
common.go
consistency.go
context_committer_test.go
context_test.go
context.go Fix misuse of TxContext (#30061) 2024-03-25 15:00:16 +08:00
convert.go Recommend/convert to use case-sensitive collation for MySQL/MSSQL (#28662) 2024-01-10 11:03:23 +00:00
engine_test.go
engine.go Add slow SQL query warning (#27545) 2024-02-23 00:57:24 +00:00
error.go
index_test.go
index.go
iterate_test.go
iterate.go
list_test.go
list.go Fix joins in db.Find(AndCount) (#28978) 2024-01-30 02:37:24 +00:00
log.go
main_test.go
name.go
search.go
sequence.go
sql_postgres_with_schema.go