Bug 496471 - Silence satchel warning about ORDER BY without an index since an index can't be used. r=dolske

This commit is contained in:
Matthew Noorenberghe 2013-01-16 18:39:42 -08:00
parent 38c97dd1c1
commit 89781aa840

View File

@ -242,7 +242,8 @@ FormAutoComplete.prototype = {
* to reduce the amount of moving around by entries while typing.
*/
let query = "SELECT value, " +
let query = "/* do not warn (bug 496471): can't use an index */ " +
"SELECT value, " +
"ROUND( " +
"timesUsed / MAX(1.0, (lastUsed - firstUsed) / :timeGroupingSize) * " +
"MAX(1.0, :maxTimeGroupings - (:now - lastUsed) / :timeGroupingSize) * "+