mirror of https://github.com/go-gitea/gitea.git
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.
da58bb85fa
Fix https://github.com/go-gitea/gitea/pull/28547#issuecomment-1867740842 Since https://gitea.com/xorm/xorm/pulls/2383 merged, xorm now supports UPDATE JOIN. To keep consistent from different databases, xorm use `engine.Join().Update`, but the actural generated SQL are different between different databases. For MySQL, it's `UPDATE talbe1 JOIN table2 ON join_conditions SET xxx Where xxx`. For MSSQL, it's `UPDATE table1 SET xxx FROM TABLE1, TABLE2 WHERE join_conditions`. For SQLITE per https://www.sqlite.org/lang_update.html, sqlite support `UPDATE table1 SET xxx FROM table2 WHERE join conditions` from 3.33.0(2020-8-14). POSTGRES is the same as SQLITE. |
1 year ago | |
---|---|---|
.. | ||
actions | 1 year ago | |
activities | 1 year ago | |
admin | ||
asymkey | 1 year ago | |
auth | 1 year ago | |
avatars | 1 year ago | |
db | 1 year ago | |
dbfs | ||
fixtures | 1 year ago | |
git | 1 year ago | |
issues | 1 year ago | |
migrations | 1 year ago | |
organization | 1 year ago | |
packages | 1 year ago | |
perm | 1 year ago | |
project | 1 year ago | |
pull | 1 year ago | |
repo | 1 year ago | |
secret | 1 year ago | |
shared/types | ||
system | 1 year ago | |
unit | ||
unittest | 1 year ago | |
user | 1 year ago | |
webhook | 1 year ago | |
error.go | ||
fixture_generation.go | 1 year ago | |
fixture_test.go | 1 year ago | |
main_test.go | ||
org.go | 1 year ago | |
org_team.go | 1 year ago | |
org_team_test.go | ||
org_test.go | 1 year ago | |
repo.go | 1 year ago | |
repo_test.go | ||
repo_transfer.go | ||
repo_transfer_test.go |