mirror of
1
Fork 0
forgejo/models/activities
KN4CK3R 13423d6eda
Quote table `release` in sql queries (#27205) (#27219)
Backport of #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.

(cherry picked from commit eae6985b63)
2023-10-03 14:48:18 +02:00
..
action.go Bypass MariaDB performance bug of the "IN" sub-query, fix incorrect IssueIndex (#26279) (#26368) 2023-08-21 07:22:17 +02: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) (#26368) 2023-08-21 07:22:17 +02:00
main_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
notification.go Fix bug with sqlite load read (#26305) (#26339) 2023-08-21 07:22:16 +02:00
notification_test.go Fix bug with sqlite load read (#26305) (#26339) 2023-08-21 07:22:16 +02:00
repo_activity.go Quote table `release` in sql queries (#27205) (#27219) 2023-10-03 14:48:18 +02:00
statistic.go Use a separate admin page to show global stats, remove `actions` stat (#25062) 2023-06-03 22:03:41 +08:00
user_heatmap.go Localize activity heatmap (except tooltip) (#24131) 2023-04-17 14:26:01 -04:00
user_heatmap_test.go Add pagination for dashboard and user activity feeds (#22937) 2023-02-24 16:15:10 -05:00