1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-10-15 06:04:32 -04: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
collation.go
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
engine_test.go
engine.go
error.go
index_test.go
index.go
iterate_test.go
iterate.go
list_test.go
list.go
log.go
main_test.go
name.go
search.go
sequence.go
sql_postgres_with_schema.go