1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-20 22:34:37 +01:00

Fix slow library search on sqlite 3.8.

This commit is contained in:
Mattias Andersson 2014-04-19 14:23:50 +02:00
parent 3dad47e7ca
commit 56dade2598

View File

@ -128,7 +128,7 @@ void LibraryQuery::AddWhere(const QString& column, const QVariant& value,
}
void LibraryQuery::AddCompilationRequirement(bool compilation) {
where_clauses_ << QString("effective_compilation = %1")
where_clauses_ << QString("+effective_compilation = %1")
.arg(compilation ? 1 : 0);
}