Skip to content
Commit 700ad9b1 authored by Samuel Gyger's avatar Samuel Gyger Committed by Andrés G. Aragoneses
Browse files

Database: fix performance for the new SQLite's query planner (bgo#740879)

Starting with sqlite version 3.8.6, a new query planner is used.
To get back the performance on filling the CoreCache Table,
this commit provides hints to sqlite (using the UNLIKELY statement).
But the UNLIKELY statement is only supported in version 3.8.1 and
above, so in order not to raise the version of the dependency on
sqlite, we can use this new clause conditionally.
parent 3db1e693
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment