1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-06 14:16:32 +02:00

* Delete obsolete singleton commands on startup.

This commit is contained in:
Christian Muehlhaeuser
2012-10-18 12:57:46 +02:00
parent 20802ae0c9
commit e439bd3b43
2 changed files with 5 additions and 4 deletions

View File

@@ -71,6 +71,7 @@ DatabaseImpl::DatabaseImpl( const QString& dbname )
// in case of unclean shutdown last time:
query.exec( "UPDATE source SET isonline = 'false'" );
query.exec( "DELETE FROM oplog WHERE source IS NULL AND singleton = 'true'" );
m_fuzzyIndex = new FuzzyIndex( this, schemaUpdated );