From 94d2e4910343fd5525ceb9e4fc286d8c14e788f5 Mon Sep 17 00:00:00 2001 From: Shawn Wilsher Date: Fri, 20 Mar 2009 17:02:23 -0400 Subject: [PATCH] Disable inefficient query warning (tracked in bug 482351) rs=dietrich --- toolkit/components/places/src/nsNavHistory.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/toolkit/components/places/src/nsNavHistory.cpp b/toolkit/components/places/src/nsNavHistory.cpp index bb2a699e1fb..3d2ca7e1220 100644 --- a/toolkit/components/places/src/nsNavHistory.cpp +++ b/toolkit/components/places/src/nsNavHistory.cpp @@ -7678,6 +7678,7 @@ nsNavHistory::GetDBInvalidFrecencies() // only from moz_places since temp will be synched there sometimes. // Notice that frecency is invalidated as frecency = -visit_count nsresult rv = mDBConn->CreateStatement(NS_LITERAL_CSTRING( + "/* do not warn (bug 482351) */ " "SELECT * FROM ( " "SELECT id, visit_count, hidden, typed, frecency, url " "FROM ( "