mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 11:20:22 +02:00
* Use our own (fail-safer) commit transaction method.
This commit is contained in:
@@ -193,7 +193,7 @@ DatabaseWorker::doWork()
|
||||
if ( cmd->doesMutates() )
|
||||
{
|
||||
qDebug() << "Committing" << cmd->commandname() << cmd->guid();
|
||||
if ( !m_dbimpl->database().commit() )
|
||||
if ( !m_dbimpl->newquery().commitTransaction() )
|
||||
{
|
||||
tDebug() << "FAILED TO COMMIT TRANSACTION*";
|
||||
throw "commit failed";
|
||||
|
Reference in New Issue
Block a user