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

Unified Diff: third_party/sqlite/patches/0002-Use-seperate-page-cache-pools-for-each-sqlite-connec.patch

Issue 2751253002: [sql] Import SQLite 3.17.0. (Closed)
Patch Set: also clang on Linux i386 Created 3 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/patches/0002-Use-seperate-page-cache-pools-for-each-sqlite-connec.patch
diff --git a/third_party/sqlite/patches/0002-Use-seperate-page-cache-pools-for-each-sqlite-connec.patch b/third_party/sqlite/patches/0002-Use-seperate-page-cache-pools-for-each-sqlite-connec.patch
index 1cb82a6cd391b500e8adc7c77d2f4851f5c43048..dbd29cc120ce8376e0c2b4d9e1ffaac03fb35cd4 100644
--- a/third_party/sqlite/patches/0002-Use-seperate-page-cache-pools-for-each-sqlite-connec.patch
+++ b/third_party/sqlite/patches/0002-Use-seperate-page-cache-pools-for-each-sqlite-connec.patch
@@ -1,7 +1,7 @@
-From 1a93d36e638db170407cd0cbdaccd30c576ad4c4 Mon Sep 17 00:00:00 2001
+From 48c000f21a646815c76026f3ced1f53847c2d66f Mon Sep 17 00:00:00 2001
From: rmcilroy <rmcilroy@chromium.org>
Date: Thu, 20 Jun 2013 22:50:12 +0000
-Subject: [PATCH 02/13] Use seperate page-cache pools for each sqlite
+Subject: [PATCH 02/10] Use seperate page-cache pools for each sqlite
connection.
Due to multiple different subsystems using sqlite, the shared global page
@@ -16,10 +16,10 @@ Original review URL: https://chromiumcodereview.appspot.com/17413004
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/third_party/sqlite/src/src/pcache1.c b/third_party/sqlite/src/src/pcache1.c
-index 7147f6a..940bd62 100644
+index 110d7ec656ae..3b938ce7b2f8 100644
--- a/third_party/sqlite/src/src/pcache1.c
+++ b/third_party/sqlite/src/src/pcache1.c
-@@ -668,6 +668,8 @@ static int pcache1Init(void *NotUsed){
+@@ -690,6 +690,8 @@ static int pcache1Init(void *NotUsed){
** private PGroup (mode-1). pcache1.separateCache is false if the single
** PGroup in pcache1.grp is used for all page caches (mode-2).
**
@@ -28,7 +28,7 @@ index 7147f6a..940bd62 100644
** * Always use a unified cache (mode-2) if ENABLE_MEMORY_MANAGEMENT
**
** * Use a unified cache in single-threaded applications that have
-@@ -677,7 +679,9 @@ static int pcache1Init(void *NotUsed){
+@@ -699,7 +701,9 @@ static int pcache1Init(void *NotUsed){
**
** * Otherwise use separate caches (mode-1)
*/
@@ -40,5 +40,5 @@ index 7147f6a..940bd62 100644
#elif SQLITE_THREADSAFE
pcache1.separateCache = sqlite3GlobalConfig.pPage==0
--
-2.7.0.rc3.207.g0ac5344
+2.11.0

Powered by Google App Engine
This is Rietveld 408576698