From 191445d74fe0826893251c370dfaf1d39f3adecd Mon Sep 17 00:00:00 2001 From: casey Date: Sat, 21 May 2016 00:27:29 -0700 Subject: [PATCH] Fixed a bug where missing files were not being removed from the library. I think this is desired behavior. --- src/core/library/Indexer.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/core/library/Indexer.cpp b/src/core/library/Indexer.cpp index 90eccaeca..4fdc79bc5 100644 --- a/src/core/library/Indexer.cpp +++ b/src/core/library/Indexer.cpp @@ -410,8 +410,7 @@ void Indexer::SyncDelete() { db::Statement allTracks( "SELECT t.id, t.filename " - "FROM tracks t " - "WHERE p.id=?", this->dbConnection); + "FROM tracks t ", this->dbConnection); while(allTracks.Step() == db::Row && !this->Exited() && !this->Restarted()) { bool remove = false;