1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-24 09:49:42 +01:00

Some more debugging bits

This commit is contained in:
Jeff Mitchell 2011-10-10 18:55:44 -04:00
parent 719151b44e
commit 864d665494

View File

@ -106,10 +106,12 @@ DatabaseCommand_DeleteFiles::exec( DatabaseImpl* dbi )
idstring.chop( 2 ); //remove the trailing ", "
dirquery.bindValue( 0, idstring );
tDebug() << Q_FUNC_INFO << " binding id string: " << idstring;
dirquery.exec();
while ( dirquery.next() )
m_files << dirquery.value( 1 ).toString();
tDebug() << Q_FUNC_INFO << " executed query was: " << dirquery.executedQuery() << ", bound value is: " << dirquery.boundValue( 0 ).toString();
tDebug() << Q_FUNC_INFO << " files selected for delete: " << m_files;
}
else if ( m_deleteAll )
@ -178,7 +180,7 @@ DatabaseCommand_DeleteFiles::exec( DatabaseImpl* dbi )
<< delquery.boundValues();
}
tDebug() << Q_FUNC_INFO << " executed query was: " << delquery.executedQuery();
tDebug() << Q_FUNC_INFO << " executed query was: " << delquery.executedQuery() << ", bound value is: " << delquery.boundValue( 0 ).toString();
}
emit done( m_files, source()->collection() );