summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author6543 <6543@obermui.de>2022-07-14 20:40:30 +0200
committerGitHub <noreply@github.com>2022-07-14 19:40:30 +0100
commit181814952779c92942d296647852a5a3aa394c79 (patch)
treed490ba99b1974f2f81158c68254662b3049bb209
parent931c02d1521b7b990f70a590c691b066dbc27d4d (diff)
downloadgitea-181814952779c92942d296647852a5a3aa394c79.tar.gz
gitea-181814952779c92942d296647852a5a3aa394c79.zip
update xorm.io/xorm v1.3.2-0.20220714055524-c3bce556200f (#20371)
Xorm 1.3.2-0.20220714055524 contains a fix for interpreting db column sizes. Prior to this fix xorm would assume that the size of a column was within the range of an `int`. This is correct on 64bit machines where `int` is typical equivalent to `int64` however, on 32bit machines `int` tends to be `int32`. Unfortunately the size of a LONGTEXT field is actually `max_uint32`, thus using `strconv.Atoi` on these fields will fail and thus #20161 occurs on 32 bit arm. Xorm 1.3.2-0.20220714055524 changes this field to use int64 instead. Fix #20161
-rw-r--r--go.mod2
-rw-r--r--go.sum4
2 files changed, 3 insertions, 3 deletions
diff --git a/go.mod b/go.mod
index 026c5723c3..78495cc6a2 100644
--- a/go.mod
+++ b/go.mod
@@ -104,7 +104,7 @@ require (
mvdan.cc/xurls/v2 v2.4.0
strk.kbt.io/projects/go/libravatar v0.0.0-20191008002943-06d1c002b251
xorm.io/builder v0.3.11
- xorm.io/xorm v1.3.1
+ xorm.io/xorm v1.3.2-0.20220714055524-c3bce556200f
)
require (
diff --git a/go.sum b/go.sum
index 1032069807..dca68d9a8e 100644
--- a/go.sum
+++ b/go.sum
@@ -2423,5 +2423,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.11 h1:naLkJitGyYW7ZZdncsh/JW+HF4HshmvTHTyUyPwJS00=
xorm.io/builder v0.3.11/go.mod h1:aUW0S9eb9VCaPohFCH3j7czOx1PMW3i1HrSzbLYGBSE=
-xorm.io/xorm v1.3.1 h1:z5egKrDoOLqZFhMjcGF4FBHiTmE5/feQoHclfhNidfM=
-xorm.io/xorm v1.3.1/go.mod h1:9NbjqdnjX6eyjRRhh01GHm64r6N9shTb/8Ak3YRt8Nw=
+xorm.io/xorm v1.3.2-0.20220714055524-c3bce556200f h1:3NvNsM4lnttTsHpk8ODHqrwN1MCEjsO3bD/rpd8A47k=
+xorm.io/xorm v1.3.2-0.20220714055524-c3bce556200f/go.mod h1:9NbjqdnjX6eyjRRhh01GHm64r6N9shTb/8Ak3YRt8Nw=