Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2102)

Unified Diff: chrome/browser/history/url_database.cc

Issue 7618028: Tweak typed-count Usage. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/history/url_database.cc
===================================================================
--- chrome/browser/history/url_database.cc (revision 97032)
+++ chrome/browser/history/url_database.cc (working copy)
@@ -263,8 +263,8 @@
DCHECK(!enumerator->initialized_);
std::string sql("SELECT ");
sql.append(kURLRowFields);
- sql.append(" FROM urls WHERE last_visit_time >= ? OR visit_count > ? OR "
- "typed_count > ?");
+ sql.append(" FROM urls WHERE last_visit_time >= ? OR visit_count >= ? OR "
+ "typed_count >= ?");
enumerator->statement_.Assign(GetDB().GetUniqueStatement(sql.c_str()));
if (!enumerator->statement_) {
NOTREACHED() << GetDB().GetErrorMessage();
« no previous file with comments | « chrome/browser/history/in_memory_url_index_unittest.cc ('k') | chrome/browser/history/url_database_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698