diff options
author | Uwe Klotz <uklotz@mixxx.org> | 2019-10-09 08:05:59 +0200 |
---|---|---|
committer | Uwe Klotz <uklotz@mixxx.org> | 2019-10-09 08:09:37 +0200 |
commit | 4690111a69ab01d4df7391bd19d9388e1b32237b (patch) | |
tree | 3f6b9bfbde8b5ff644c07db3f49e7edce0d3b55c /src | |
parent | f5fc635c68513d0f060f6111bb2e3b07a0f79194 (diff) |
Add comments and link to bug
Diffstat (limited to 'src')
-rw-r--r-- | src/library/scanner/libraryscanner.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/library/scanner/libraryscanner.cpp b/src/library/scanner/libraryscanner.cpp index 4382e913bc..556984626c 100644 --- a/src/library/scanner/libraryscanner.cpp +++ b/src/library/scanner/libraryscanner.cpp @@ -120,11 +120,14 @@ void LibraryScanner::run() { return; } + // Clean up the database and fix inconsistencies from previous runs. + // See also: https://bugs.launchpad.net/mixxx/+bug/1846945 { kLogger.info() << "Cleaning up database..."; PerformanceTimer timer; timer.start(); - auto numRows = execCleanupQuery(dbConnection, kDeleteOrphanedLibraryScannerDirectories); + auto numRows = execCleanupQuery(dbConnection, + kDeleteOrphanedLibraryScannerDirectories); if (numRows < 0) { kLogger.warning() << "Failed to delete orphaned directory hashes"; |