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

* Removed obsolete and problematic pragma call.

This commit is contained in:
Christian Muehlhaeuser
2012-06-20 23:39:29 +02:00
parent b53a9b6d67
commit 024392140e

View File

@@ -68,6 +68,7 @@ DatabaseImpl::DatabaseImpl( const QString& dbname, Database* parent )
tLog() << "Database ID:" << m_dbid;
init();
query.exec( "PRAGMA auto_vacuum = FULL" );
query.exec( "PRAGMA synchronous = NORMAL" );
tDebug( LOGVERBOSE ) << "Tweaked db pragmas:" << t.elapsed();
@@ -102,9 +103,7 @@ DatabaseImpl::init()
TomahawkSqlQuery query = newquery();
// make sqlite behave how we want:
query.exec( "PRAGMA synchronous = ON" );
query.exec( "PRAGMA foreign_keys = ON" );
//query.exec( "PRAGMA temp_store = MEMORY" );
}