1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-05 01:34:25 +00:00
gitea/models/activities
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
..
action_list.go refactor some functions to support ctx as first parameter (#21878) 2022-12-03 10:48:26 +08:00
action_test.go Bypass MariaDB performance bug of the "IN" sub-query, fix incorrect IssueIndex (#26279) 2023-08-07 12:23:59 +02:00
action.go Refactor dashboard/feed.tmpl (#26956) 2023-09-07 16:23:13 +02:00
main_test.go move repository deletion to service layer (#26948) 2023-09-08 04:51:15 +00:00
notification_test.go Fix bug with sqlite load read (#26305) 2023-08-05 10:40:27 +08:00
notification.go Fix bug with sqlite load read (#26305) 2023-08-05 10:40:27 +08:00
repo_activity.go Quote table release in sql queries (#27205) (#27218) 2023-09-23 21:15:05 +00:00
statistic.go Reduce usage of db.DefaultContext (#27073) 2023-09-14 17:09:32 +00:00
user_heatmap_test.go Add pagination for dashboard and user activity feeds (#22937) 2023-02-24 16:15:10 -05:00
user_heatmap.go Localize activity heatmap (except tooltip) (#24131) 2023-04-17 14:26:01 -04:00