You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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.
11 months ago
..
install
paginator Move more functions to db.Find (#28419) 1 year ago
collation.go Partially enable MSSQL case-sensitive collation support (#29238) 11 months ago
common.go
consistency.go
context.go Fix misuse of `TxContext` (#30061) 11 months ago
context_committer_test.go
context_test.go
convert.go Recommend/convert to use case-sensitive collation for MySQL/MSSQL (#28662) 1 year ago
engine.go Add slow SQL query warning (#27545) 12 months ago
engine_test.go
error.go
index.go
index_test.go
iterate.go
iterate_test.go
list.go Fix joins in `db.Find(AndCount)` (#28978) 1 year ago
list_test.go
log.go
main_test.go
name.go
search.go
sequence.go
sql_postgres_with_schema.go