extragear/multimedia/amarok/src/collection/sqlcollection
Leonardo Franchi
lfranchi at kde.org
Sun May 10 18:27:27 CEST 2009
On Sunday 10 May 2009 17:25:13 Maximilian Kossick wrote:
> did reverting this commit fix those problems?
yes
>
> On Sun, May 10, 2009 at 6:11 PM, Jeff Mitchell <mitchell at kde.org> wrote:
> > SVN commit 966206 by mitchell:
> >
> > Revert Max's r966005. Max, tons of reports of tags correlating
> > incorrectly with tracks and all sorts of general brokenness. Can you
> > take another look at this?
> >
> > CCMAIL: amarok-devel at kde.org
> >
> >
> > M +8 -3 SqlQueryMaker.cpp
> >
> >
> > ---
> > trunk/extragear/multimedia/amarok/src/collection/sqlcollection/SqlQueryMa
> >ker.cpp #966205:966206 @@ -575,10 +575,15 @@
> > if( !d->linkedTables )
> > return;
> >
> > + if( d->linkedTables & Private::URLS_TAB )
> > + d->queryFrom += " urls";
> > if( d->linkedTables & Private::TAGS_TAB )
> > - d->queryFrom += "tracks";
> > - if( d->linkedTables & Private::URLS_TAB )
> > - d->queryFrom += " INNER JOIN urls ON tracks.id = urls.id";
> > + {
> > + if( d->linkedTables & Private::URLS_TAB )
> > + d->queryFrom += " LEFT JOIN tracks ON urls.id = tracks.url";
> > + else
> > + d->queryFrom += " tracks";
> > + }
> > if( d->linkedTables & Private::ARTIST_TAB )
> > d->queryFrom += " LEFT JOIN artists ON tracks.artist =
> > artists.id"; if( d->linkedTables & Private::ALBUM_TAB )
> > _______________________________________________
> > Amarok-devel mailing list
> > Amarok-devel at kde.org
> > https://mail.kde.org/mailman/listinfo/amarok-devel
>
> _______________________________________________
> Amarok-devel mailing list
> Amarok-devel at kde.org
> https://mail.kde.org/mailman/listinfo/amarok-devel
-----
lfranchi at kde.org Tufts University 2010
leonardo.franchi at tufts.edu The KDE Project
More information about the Amarok-devel
mailing list