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

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

Issue 1769213002: [sqlite] Fix seperate-page-cache page merge issue. (Closed) Base URL: http://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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: third_party/sqlite/src/src/pcache1.c
diff --git a/third_party/sqlite/src/src/pcache1.c b/third_party/sqlite/src/src/pcache1.c
index 76030f9d0a65d077095f290622cd4c20b8ed0842..940bd62c94a231aa130ba8e860c25cd77cc25a59 100644
--- a/third_party/sqlite/src/src/pcache1.c
+++ b/third_party/sqlite/src/src/pcache1.c
@@ -680,7 +680,7 @@ static int pcache1Init(void *NotUsed){
** * Otherwise use separate caches (mode-1)
*/
#ifdef SQLITE_SEPARATE_CACHE_POOLS
- const int separateCache = 1;
+ pcache1.separateCache = 1;
#elif defined(SQLITE_ENABLE_MEMORY_MANAGEMENT)
pcache1.separateCache = 0;
#elif SQLITE_THREADSAFE

Powered by Google App Engine
This is Rietveld 408576698