mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-16 22:04:36 +00:00
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:
parent
38c97dd1c1
commit
89781aa840
@ -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) * "+
|
||||
|
Loading…
x
Reference in New Issue
Block a user