mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 22:26:32 +02:00
* Forgot the wildcard match.
This commit is contained in:
@@ -45,11 +45,12 @@ DatabaseCommand_DirMtimes::execSelect( DatabaseImpl* dbi )
|
|||||||
query.prepare( QString( "SELECT name, mtime "
|
query.prepare( QString( "SELECT name, mtime "
|
||||||
"FROM dirs_scanned "
|
"FROM dirs_scanned "
|
||||||
"WHERE name LIKE :prefix" ) );
|
"WHERE name LIKE :prefix" ) );
|
||||||
query.bindValue( ":prefix", m_prefix );
|
query.bindValue( ":prefix", m_prefix + "%" );
|
||||||
query.exec();
|
query.exec();
|
||||||
}
|
}
|
||||||
while( query.next() )
|
while( query.next() )
|
||||||
{
|
{
|
||||||
|
qDebug() << query.value( 0 ).toString();
|
||||||
mtimes.insert( query.value( 0 ).toString(), query.value( 1 ).toUInt() );
|
mtimes.insert( query.value( 0 ).toString(), query.value( 1 ).toUInt() );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user