mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-21 16:29:43 +01:00
* According to Leo this is even faster.
This commit is contained in:
parent
8aec11c0e9
commit
6b1aa6e9cd
@ -139,7 +139,7 @@ DatabaseCommand_AllAlbums::execForCollection( DatabaseImpl* dbi )
|
||||
|
||||
QString sql = QString(
|
||||
"SELECT DISTINCT album.id, album.name, album.artist, artist.name "
|
||||
"FROM file, file_join, album "
|
||||
"FROM file_join, file, album "
|
||||
"LEFT OUTER JOIN artist ON album.artist = artist.id "
|
||||
"WHERE file.id = file_join.file "
|
||||
"AND file_join.album = album.id "
|
||||
|
Loading…
x
Reference in New Issue
Block a user