From 001dbaf95eceeb1b0d0a813bfbd7567814981023 Mon Sep 17 00:00:00 2001 From: Marco Bonardo Date: Thu, 21 Oct 2010 02:27:07 +0200 Subject: [PATCH] Bug 595530 - Searching Places is slower after SQLite 3.7.x upgrade. Remove LENGTH check. r=sdwilsh a=blocking --- toolkit/components/places/src/nsNavHistory.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/toolkit/components/places/src/nsNavHistory.cpp b/toolkit/components/places/src/nsNavHistory.cpp index dcfc67cf03a2..a4fb59a3bd16 100644 --- a/toolkit/components/places/src/nsNavHistory.cpp +++ b/toolkit/components/places/src/nsNavHistory.cpp @@ -299,7 +299,6 @@ namespace mozilla { "JOIN moz_bookmarks t_t ON t_t.id = b_t.parent " "WHERE b_t.fk = ") + aRelation + NS_LITERAL_CSTRING(" " - "AND LENGTH(t_t.title) > 0 " "AND t_t.parent = ") + nsPrintfCString("%lld", aTagsFolder) + NS_LITERAL_CSTRING(" " "ORDER BY t_t.title COLLATE NOCASE ASC "