0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-22 02:58:43 +01:00
gitea/models
KN4CK3R bcb78e70ca
Quote table release in sql queries (#27205)
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)
2023-09-23 12:57:39 +00:00
..
actions Next round of db.DefaultContext refactor (#27089) 2023-09-16 14:39:12 +00:00
activities Quote table release in sql queries (#27205) 2023-09-23 12:57:39 +00:00
admin Next round of db.DefaultContext refactor (#27089) 2023-09-16 14:39:12 +00:00
asymkey
auth Next round of db.DefaultContext refactor (#27089) 2023-09-16 14:39:12 +00:00
avatars
db
dbfs
fixtures Fix review request number and add more tests (#27104) 2023-09-21 13:59:50 +02:00
git Updates to the API for archived repos (#27149) 2023-09-21 23:43:29 +00:00
issues Fix review request number and add more tests (#27104) 2023-09-21 13:59:50 +02:00
migrations Add index to issue_user.issue_id (#27154) 2023-09-21 01:30:48 +00:00
organization Next round of db.DefaultContext refactor (#27089) 2023-09-16 14:39:12 +00:00
packages
perm
project
pull
repo Updates to the API for archived repos (#27149) 2023-09-21 23:43:29 +00:00
secret
shared/types
system
unit
unittest
user Next round of db.DefaultContext refactor (#27089) 2023-09-16 14:39:12 +00:00
webhook
error.go
fixture_generation.go
fixture_test.go
main_test.go
org.go
org_team.go
org_team_test.go
org_test.go
repo.go
repo_test.go
repo_transfer.go Next round of db.DefaultContext refactor (#27089) 2023-09-16 14:39:12 +00:00
repo_transfer_test.go Next round of db.DefaultContext refactor (#27089) 2023-09-16 14:39:12 +00:00