summaryrefslogtreecommitdiffstats
path: root/debian/patches/31-increase_SQLITE_MAX_DEFAULT_PAGE_SIZE_to_32k.patch
blob: 074ab5f883db2e42de28302607d32ff3c241b143 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Description: increase the maximum possible value of the page size
 Firefox/Iceweasel uses a page size of 32k, but sqlite won't allow it
 because the maximum it allows by default is 8k (through the
 SQLITE_MAX_DEFAULT_PAGE_SIZE define). This patch increases this limit.
Author: Laszlo Boszormenyi (GCS) <gcs@debian.org>
Bug-Debian: http://bugs.debian.org/672573
Forwarded: not-needed
Last-Update: 2019-12-29

---

--- sqlite3-3.7.12.orig/src/sqliteLimit.h
+++ sqlite3-3.7.12/src/sqliteLimit.h
@@ -171,7 +171,7 @@
 ** SQLite will choose on its own.
 */
 #ifndef SQLITE_MAX_DEFAULT_PAGE_SIZE
-# define SQLITE_MAX_DEFAULT_PAGE_SIZE 8192
+# define SQLITE_MAX_DEFAULT_PAGE_SIZE 32768
 #endif
 #if SQLITE_MAX_DEFAULT_PAGE_SIZE>SQLITE_MAX_PAGE_SIZE
 # undef SQLITE_MAX_DEFAULT_PAGE_SIZE