mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-09 07:36:48 +02:00
Some more debugging bits
This commit is contained in:
@@ -106,10 +106,12 @@ DatabaseCommand_DeleteFiles::exec( DatabaseImpl* dbi )
|
|||||||
idstring.chop( 2 ); //remove the trailing ", "
|
idstring.chop( 2 ); //remove the trailing ", "
|
||||||
|
|
||||||
dirquery.bindValue( 0, idstring );
|
dirquery.bindValue( 0, idstring );
|
||||||
|
tDebug() << Q_FUNC_INFO << " binding id string: " << idstring;
|
||||||
dirquery.exec();
|
dirquery.exec();
|
||||||
while ( dirquery.next() )
|
while ( dirquery.next() )
|
||||||
m_files << dirquery.value( 1 ).toString();
|
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;
|
tDebug() << Q_FUNC_INFO << " files selected for delete: " << m_files;
|
||||||
}
|
}
|
||||||
else if ( m_deleteAll )
|
else if ( m_deleteAll )
|
||||||
@@ -178,7 +180,7 @@ DatabaseCommand_DeleteFiles::exec( DatabaseImpl* dbi )
|
|||||||
<< delquery.boundValues();
|
<< 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() );
|
emit done( m_files, source()->collection() );
|
||||||
|
Reference in New Issue
Block a user