Skip to content

Commit

Permalink
Revert "give query hint to inperformant sql query"
Browse files Browse the repository at this point in the history
This reverts commit 4b88c5d.
  • Loading branch information
cmyui committed Jun 2, 2024
1 parent 4b88c5d commit e324e1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/v1/user_scores.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func UserScoresRecentGET(md common.MethodData) common.CodeMessager {
beatmaps.song_name, beatmaps.ar, beatmaps.od,
beatmaps.max_combo AS beatmap_max_combo, beatmaps.hit_length, beatmaps.ranked,
beatmaps.ranked_status_freezed, beatmaps.latest_update
FROM scores USE INDEX (scores_idx_userid_playmode_id_desc)
FROM scores
INNER JOIN beatmaps ON beatmaps.beatmap_md5 = scores.beatmap_md5
INNER JOIN users ON users.id = scores.userid
AND %s
Expand Down

0 comments on commit e324e1e

Please sign in to comment.