0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-03 02:57:47 +01:00
gitea/models/issues
Lunny Xiao b167f35113
Add context parameter to some database functions (#26055)
To avoid deadlock problem, almost database related functions should be
have ctx as the first parameter.
This PR do a refactor for some of these functions.
2023-07-22 22:14:27 +08:00
..
assignees_test.go
assignees.go
comment_code.go
comment_list.go Add context parameter to some database functions (#26055) 2023-07-22 22:14:27 +08:00
comment_test.go
comment.go
content_history_test.go
content_history.go
dependency_test.go
dependency.go
issue_index.go
issue_label.go
issue_list_test.go Add context parameter to some database functions (#26055) 2023-07-22 22:14:27 +08:00
issue_list.go Add context parameter to some database functions (#26055) 2023-07-22 22:14:27 +08:00
issue_lock.go
issue_project.go
issue_search.go Add context parameter to some database functions (#26055) 2023-07-22 22:14:27 +08:00
issue_stats.go
issue_test.go
issue_update.go
issue_user_test.go
issue_user.go
issue_watch_test.go
issue_watch.go
issue_xref_test.go
issue_xref.go
issue.go Add context parameter to some database functions (#26055) 2023-07-22 22:14:27 +08:00
label_test.go
label.go
main_test.go
milestone_test.go
milestone.go
pull_list.go Add context parameter to some database functions (#26055) 2023-07-22 22:14:27 +08:00
pull_test.go Add context parameter to some database functions (#26055) 2023-07-22 22:14:27 +08:00
pull.go
reaction_test.go
reaction.go
review_list.go
review_test.go
review.go
stopwatch_test.go
stopwatch.go
tracked_time_test.go Add context parameter to some database functions (#26055) 2023-07-22 22:14:27 +08:00
tracked_time.go Add context parameter to some database functions (#26055) 2023-07-22 22:14:27 +08:00