| Index: chrome/browser/history/download_database.cc
|
| ===================================================================
|
| --- chrome/browser/history/download_database.cc (revision 10992)
|
| +++ chrome/browser/history/download_database.cc (working copy)
|
| @@ -55,7 +55,8 @@
|
| SQLITE_OK;
|
| }
|
|
|
| -void DownloadDatabase::QueryDownloads(std::vector<DownloadCreateInfo>* results) {
|
| +void DownloadDatabase::QueryDownloads(
|
| + std::vector<DownloadCreateInfo>* results) {
|
| results->clear();
|
|
|
| SQLITE_UNIQUE_STATEMENT(statement, GetStatementCache(),
|
| @@ -156,7 +157,9 @@
|
| time_t start_time = delete_begin.ToTimeT();
|
| time_t end_time = delete_end.ToTimeT();
|
| statement->bind_int64(0, start_time);
|
| - statement->bind_int64(1, end_time ? end_time : std::numeric_limits<int64>::max());
|
| + statement->bind_int64(
|
| + 1,
|
| + end_time ? end_time : std::numeric_limits<int64>::max());
|
| statement->bind_int(2, DownloadItem::COMPLETE);
|
| statement->bind_int(3, DownloadItem::CANCELLED);
|
| statement->step();
|
|
|