mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-20 07:49:42 +01:00
* Use our own (fail-safer) commit transaction method.
This commit is contained in:
parent
d8c3006cb4
commit
d481ffbd90
@ -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";
|
||||
|
Loading…
x
Reference in New Issue
Block a user