diff options
author | Uwe Klotz <uklotz@mixxx.org> | 2019-06-30 17:35:14 +0200 |
---|---|---|
committer | Uwe Klotz <uklotz@mixxx.org> | 2019-06-30 17:40:09 +0200 |
commit | 4d9857ea91dbf48892180dd8949b5cc524874167 (patch) | |
tree | 74636110e6c4caefbe5a5f0cab23525c772194ca /src | |
parent | db8707d6b1e181cfd3980e685caa5af9e079a486 (diff) |
Fix wrong parameter binding
Diffstat (limited to 'src')
-rw-r--r-- | src/library/dao/trackdao.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/dao/trackdao.cpp b/src/library/dao/trackdao.cpp index c5524ed534..3dcea32f96 100644 --- a/src/library/dao/trackdao.cpp +++ b/src/library/dao/trackdao.cpp @@ -1643,7 +1643,7 @@ bool TrackDAO::detectMovedTracks(QSet<TrackId>* pTracksMovedSetOld, if (query.next()) { TrackId newTrackId(query.value(newTrackIdColumn)); query.prepare("DELETE FROM library WHERE id=:newid"); - query.bindValue(":newid", newTrackLocationId.toVariant()); + query.bindValue(":newid", newTrackId.toVariant()); if (!query.exec()) { // Should not happen! LOG_FAILED_QUERY(query); |