aboutsummaryrefslogtreecommitdiff
path: root/ext/wasm/api/sqlite3-wasm.c
diff options
context:
space:
mode:
authorstephan <stephan@noemail.net>2022-11-04 09:02:21 +0000
committerstephan <stephan@noemail.net>2022-11-04 09:02:21 +0000
commitc75445087f1d18a61899e5ca0f36bafc6e35b572 (patch)
tree4220f961eb065e6e41d20f3bed36a7ee5fc1a994 /ext/wasm/api/sqlite3-wasm.c
parent7d24ff29713e86730ffab173637fa022f24afca2 (diff)
downloadsqlite-c75445087f1d18a61899e5ca0f36bafc6e35b572.tar.gz
sqlite-c75445087f1d18a61899e5ca0f36bafc6e35b572.zip
Correct sqlite3-wasm.c's SQLITE_DEFAULT_CACHE_SIZE (it's measured in kb, not bytes).
FossilOrigin-Name: 479ad980dfe509403e184e39a5aa441171e47b3297e05039f85516e72e9f15be
Diffstat (limited to 'ext/wasm/api/sqlite3-wasm.c')
-rw-r--r--ext/wasm/api/sqlite3-wasm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/wasm/api/sqlite3-wasm.c b/ext/wasm/api/sqlite3-wasm.c
index 203e70a3e..9d04ad129 100644
--- a/ext/wasm/api/sqlite3-wasm.c
+++ b/ext/wasm/api/sqlite3-wasm.c
@@ -67,7 +67,7 @@
** larger cache benefits the larger workloads. Speed differences
** between 2x and nearly 3x have been measured with ample page cache.
*/
-# define SQLITE_DEFAULT_CACHE_SIZE -16777216
+# define SQLITE_DEFAULT_CACHE_SIZE -16384
#endif
#if 0 && !defined(SQLITE_DEFAULT_PAGE_SIZE)
/* TODO: experiment with this. */