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

Unified Diff: third_party/sqlite/src/pager.c

Issue 203011: Temporarilly comment out SQLite load optimization... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 3 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
« no previous file with comments | « chrome/browser/meta_table_helper.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/src/pager.c
===================================================================
--- third_party/sqlite/src/pager.c (revision 25694)
+++ third_party/sqlite/src/pager.c (working copy)
@@ -5408,7 +5408,7 @@
* loading all of the pages we want to.
*/
for(i=1; i <= loadPages && pPager->nPage < pPager->mxPage; i++) {
- DbPage *pPage;
+ DbPage *pPage = 0;
rc = sqlite3PagerAcquire2(pPager, i, &pPage, 0,
&fileData[(i-1)*(i64)pPager->pageSize]);
if (rc != SQLITE_OK)
« no previous file with comments | « chrome/browser/meta_table_helper.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698