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

Unified Diff: third_party/sqlite/amalgamation/sqlite3.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:
Download patch
« no previous file with comments | « no previous file | third_party/sqlite/patches/0002-Use-seperate-page-cache-pools-for-each-sqlite-connec.patch » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/amalgamation/sqlite3.c
diff --git a/third_party/sqlite/amalgamation/sqlite3.c b/third_party/sqlite/amalgamation/sqlite3.c
index 46a2b2c30a8a2003ba8419e948ff06816d918b0c..cfa2363f79967c446a6f574a34dc56b7fe4e7567 100644
--- a/third_party/sqlite/amalgamation/sqlite3.c
+++ b/third_party/sqlite/amalgamation/sqlite3.c
@@ -42305,7 +42305,7 @@ static int pcache1Init(void *NotUsed){
** * Otherwise use separate caches (mode-1)
*/
#ifdef SQLITE_SEPARATE_CACHE_POOLS
- const int separateCache = 1;
Alexander Potapenko 2016/03/10 16:37:42 Dumb question: this line didn't touch pcache1_g, h
Scott Hess - ex-Googler 2016/03/10 16:56:45 separate-cache means that each db connection has a
+ pcache1.separateCache = 1;
#elif defined(SQLITE_ENABLE_MEMORY_MANAGEMENT)
pcache1.separateCache = 0;
#elif SQLITE_THREADSAFE
« no previous file with comments | « no previous file | third_party/sqlite/patches/0002-Use-seperate-page-cache-pools-for-each-sqlite-connec.patch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698