Skip to content

Commit

Permalink
storage/mariadb: use the correct column name
Browse files Browse the repository at this point in the history
  • Loading branch information
Wessie committed May 24, 2024
1 parent 10901f0 commit 377086a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions storage/mariadb/track.go
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,8 @@ LEFT JOIN
tracks ON tracks.hash = esong.hash
JOIN
(SELECT DISTINCT
esong.hash_link
esong.hash_link,
efave.id
FROM
enick
JOIN
Expand All @@ -373,7 +374,7 @@ JOIN
WHERE
enick.nick = ?) AS truth
ON esong.hash = truth.hash_link
ORDER BY efave.id ASC
ORDER BY truth.id ASC
LIMIT ? OFFSET ?;
`)

Expand Down

0 comments on commit 377086a

Please sign in to comment.