0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-04 14:06:38 +01:00
gitea/models/issues
zeripath d827215011
Fix DBConsistency checks on MSSQL (#23132)
Unfortunately xorm's `builder.Select(...).From(...)` does not escape the
table names. This is mostly not a problem but is a problem with the
`user` table.

This PR simply escapes the user table. No other uses of `From("user")`
where found in the codebase so I think this should be all that is
needed.

Fix #23064

Signed-off-by: Andrew Thornton <art27@cantab.net>
2023-02-24 16:45:55 -05:00
..
assignees_test.go
assignees.go
comment_code.go
comment_list.go
comment_test.go
comment.go
content_history_test.go
content_history.go
dependency_test.go
dependency.go
issue_index.go
issue_list_test.go
issue_list.go
issue_lock.go
issue_project.go
issue_test.go
issue_user_test.go
issue_user.go
issue_watch_test.go
issue_watch.go
issue_xref_test.go
issue_xref.go
issue.go
label_test.go
label.go Fix DBConsistency checks on MSSQL (#23132) 2023-02-24 16:45:55 -05:00
main_test.go
milestone_test.go
milestone.go
pull_list.go
pull_test.go
pull.go
reaction_test.go
reaction.go
review_test.go
review.go
stopwatch_test.go
stopwatch.go
tracked_time_test.go
tracked_time.go