0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-26 20:34:25 +01:00
gitea/modules/doctor
Giteabot 64c0a6a4e2
Quote table release in sql queries (#27205) (#27218)
Backport #27205 by @KN4CK3R

Fixes #27174

`release` is a reserved keyword in MySql. I can't reproduce the issue on
my setup and we have a test for that code but it seems there can be
setups where it fails.


a101dbaa79/tests/integration/repo_activity_test.go (L45-L46)

Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
2023-09-23 21:15:05 +00:00
..
authorizedkeys.go
breaking.go
checkOldArchives.go
dbconsistency.go Quote table release in sql queries (#27205) (#27218) 2023-09-23 21:15:05 +00:00
dbversion.go
doctor.go
fix8312.go Reduce usage of db.DefaultContext (#27073) 2023-09-14 17:09:32 +00:00
fix16961.go
fix16961_test.go
heads.go
lfs.go
mergebase.go
misc.go Upgrade go dependencies (#25819) 2023-07-14 11:00:31 +08:00
paths.go
storage.go
usertype.go Reduce usage of db.DefaultContext (#27073) 2023-09-14 17:09:32 +00:00