$ git diff --patch-with-stat --summary 9c7d56e64a7dafcf8756d049f6e3b74df3ab21a8..504f8da68a31249b141131a5934c739706e68a54
.abf.yml | 4 +---
defaultwal.patch | 10 ----------
sqlite.spec | 11 +++++++----
walmode.patch | 11 -----------
4 files changed, 8 insertions(+), 28 deletions(-)
delete mode 100644 defaultwal.patch
delete mode 100644 walmode.patch
diff --git a/.abf.yml b/.abf.yml
index fca8d8b..bae707e 100644
--- a/.abf.yml
+++ b/.abf.yml
@@ -1,4 +1,2 @@
sources:
- sqlite-autoconf-3390400.tar.gz: c4c5c39269d1b9bb1487cff580c1f583608229b2
- sqlite-autoconf-3400000.tar.gz: 2aa5df983dc2d7e6b096b49e579bcc1e7b80667e
- sqlite-autoconf-3400100.tar.gz: b8c2d4bc0094f5c0ce985dc0e237dfcbaa1f6275
+ sqlite-autoconf-3410200.tar.gz: f5a8a9ad5552b19fb5a41cf5536c8ab3b9bce82e
diff --git a/defaultwal.patch b/defaultwal.patch
deleted file mode 100644
index 4d8304b..0000000
--- a/defaultwal.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- sqlite-autoconf-3150000/sqlite3.c~ 2016-10-14 15:37:59.000000000 +0000
-+++ sqlite-autoconf-3150000/sqlite3.c 2016-10-14 15:47:22.325138823 +0000
-@@ -51127,6 +51126,7 @@
- rc = sqlite3PagerSetPagesize(pPager, &szPageDflt, -1);
- testcase( rc!=SQLITE_OK );
- }
-+ sqlite3PagerSetJournalMode(pPager, PAGER_JOURNALMODE_WAL);
-
- /* Initialize the PCache object. */
- if( rc==SQLITE_OK ){
diff --git a/sqlite.spec b/sqlite.spec
index 4dfe36b..21bcea2 100644
--- a/sqlite.spec
+++ b/sqlite.spec
@@ -18,16 +18,19 @@
Summary: C library that implements an embeddable SQL database engine
Name: sqlite
-Version: 3.40.1
-Release: 1
+Version: 3.41.2
+Release: 2
License: Public Domain
Group: System/Libraries
URL: http://www.sqlite.org/
Source0: http://www.sqlite.org/%(date +%Y)/%{name}-autoconf-%{realver}.tar.gz
# (tpg) ClearLinux patches
-Patch3: walmode.patch
+# NOTE: NEVER add the ClearLinux patches "walmode.patch" and
+# "defaultwal.patch". While those improve performance, they
+# require additional permissions (write access for any user
+# trying to *read* a file to the directory containing the file!)
+# and therefore cause subtle breakages.
Patch4: chunksize.patch
-Patch5: defaultwal.patch
# (tpg) do not enable ICU support as it just bloats everything
BuildRequires: readline-devel
BuildRequires: pkgconfig(ncurses)
diff --git a/walmode.patch b/walmode.patch
deleted file mode 100644
index 10fca1e..0000000
--- a/walmode.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -up sqlite-autoconf-3270100/shell.c.0003~ sqlite-autoconf-3270100/shell.c
---- sqlite-autoconf-3270100/shell.c.0003~ 2019-02-10 16:47:12.514344747 +0100
-+++ sqlite-autoconf-3270100/shell.c 2019-02-10 16:48:15.887430140 +0100
-@@ -11610,6 +11610,7 @@ static void open_db(ShellState *p, int o
- }
- exit(1);
- }
-+ sqlite3_exec(p->db, "PRAGMA journal_mode=WAL;", 0, 0, NULL);
- #ifndef SQLITE_OMIT_LOAD_EXTENSION
- sqlite3_enable_load_extension(p->db, 1);
- #endif