1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-07-31 11:20:22 +02:00

Add more debugging for the delete issue

This commit is contained in:
Jeff Mitchell
2011-10-10 18:49:57 -04:00
parent 1c3a9da5ed
commit 719151b44e

View File

@@ -169,6 +169,7 @@ DatabaseCommand_DeleteFiles::exec( DatabaseImpl* dbi )
idstring.chop( 3 ); //remove the trailing "\", " idstring.chop( 3 ); //remove the trailing "\", "
delquery.bindValue( 0, idstring ); delquery.bindValue( 0, idstring );
tDebug() << Q_FUNC_INFO << " bound idstring: " << idstring;
if( !delquery.exec() ) if( !delquery.exec() )
{ {
qDebug() << "Failed to delete file:" qDebug() << "Failed to delete file:"
@@ -177,7 +178,7 @@ DatabaseCommand_DeleteFiles::exec( DatabaseImpl* dbi )
<< delquery.boundValues(); << delquery.boundValues();
} }
tDebug() << Q_FUNC_INFO << " executed query was: " << delquery.lastQuery(); tDebug() << Q_FUNC_INFO << " executed query was: " << delquery.executedQuery();
} }
emit done( m_files, source()->collection() ); emit done( m_files, source()->collection() );