Fixed a bug where missing files were not being removed from the library.

I think this is desired behavior.
This commit is contained in:
casey 2016-05-21 00:27:29 -07:00
parent 174d00b4d5
commit 191445d74f

View File

@ -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;