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:
parent
3dad47e7ca
commit
56dade2598
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user