mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-07 06:36:55 +02:00
* Delete obsolete singleton commands on startup.
This commit is contained in:
@@ -71,6 +71,7 @@ DatabaseImpl::DatabaseImpl( const QString& dbname )
|
|||||||
|
|
||||||
// in case of unclean shutdown last time:
|
// in case of unclean shutdown last time:
|
||||||
query.exec( "UPDATE source SET isonline = 'false'" );
|
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 );
|
m_fuzzyIndex = new FuzzyIndex( this, schemaUpdated );
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user