summaryrefslogtreecommitdiffstats
path: root/go.sum
diff options
context:
space:
mode:
authorGiteabot <teabot@gitea.io>2023-12-31 13:57:36 +0800
committerGitHub <noreply@github.com>2023-12-31 13:57:36 +0800
commit18da3f8483d5359f44bdac5ea46c6d2a54d94358 (patch)
tree3f978adeeb09cc1e78e4639f0069e5e5d7485eb9 /go.sum
parent2165729d16cbb56087f38c9c04f8ffb5ccf6fdc0 (diff)
downloadgitea-18da3f8483d5359f44bdac5ea46c6d2a54d94358.tar.gz
gitea-18da3f8483d5359f44bdac5ea46c6d2a54d94358.zip
Upgrade xorm to new version which supported update join for all supported databases (#28590) (#28668)
Backport #28590 by @lunny 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. Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Diffstat (limited to 'go.sum')
-rw-r--r--go.sum4
1 files changed, 2 insertions, 2 deletions
diff --git a/go.sum b/go.sum
index 3bd50302fc..e5c9cf97ae 100644
--- a/go.sum
+++ b/go.sum
@@ -1649,5 +1649,5 @@ strk.kbt.io/projects/go/libravatar v0.0.0-20191008002943-06d1c002b251/go.mod h1:
xorm.io/builder v0.3.11-0.20220531020008-1bd24a7dc978/go.mod h1:aUW0S9eb9VCaPohFCH3j7czOx1PMW3i1HrSzbLYGBSE=
xorm.io/builder v0.3.13 h1:a3jmiVVL19psGeXx8GIurTp7p0IIgqeDmwhcR6BAOAo=
xorm.io/builder v0.3.13/go.mod h1:aUW0S9eb9VCaPohFCH3j7czOx1PMW3i1HrSzbLYGBSE=
-xorm.io/xorm v1.3.4 h1:vWFKzR3DhGUDl5b4srhUjhDwjxkZAc4C7BFszpu0swI=
-xorm.io/xorm v1.3.4/go.mod h1:qFJGFoVYbbIdnz2vaL5OxSQ2raleMpyRRalnq3n9OJo=
+xorm.io/xorm v1.3.6 h1:hfpWHkDIWWqUi8FRF2H2M9O8lO3Ov47rwFcS9gPzPkU=
+xorm.io/xorm v1.3.6/go.mod h1:qFJGFoVYbbIdnz2vaL5OxSQ2raleMpyRRalnq3n9OJo=