aboutsummaryrefslogtreecommitdiff
path: root/ext/wasm/api/sqlite3-wasm.c
diff options
context:
space:
mode:
authorstephan <stephan@noemail.net>2022-11-17 15:21:49 +0000
committerstephan <stephan@noemail.net>2022-11-17 15:21:49 +0000
commitc7c15d1b83574f7ceec81bd76e76521f03efb1c8 (patch)
tree6c411a9ba5a9585770e8fe29d2adcf42c65fa18b /ext/wasm/api/sqlite3-wasm.c
parentb0ab21dee40144d8aec92df4a0c98eb069badeb3 (diff)
parent3c1572ddb43ba7f4cbae57ee4b019a2cd45ee015 (diff)
downloadsqlite-c7c15d1b83574f7ceec81bd76e76521f03efb1c8.tar.gz
sqlite-c7c15d1b83574f7ceec81bd76e76521f03efb1c8.zip
Merge trunk into js-cpp branch.
FossilOrigin-Name: e047b33d1fb7d6a32e967f03f9952249cd2da4d21dc301fe92bd7baa0da5d6a9
Diffstat (limited to 'ext/wasm/api/sqlite3-wasm.c')
-rw-r--r--ext/wasm/api/sqlite3-wasm.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/ext/wasm/api/sqlite3-wasm.c b/ext/wasm/api/sqlite3-wasm.c
index 203e70a3e..af5ed6bf7 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. */
@@ -1108,9 +1108,6 @@ int sqlite3_wasm_init_wasmfs(const char *zMountPoint){
/** It's not enough to instantiate the backend. We have to create a
mountpoint in the VFS and attach the backend to it. */
if( pOpfs && 0!=access(zMountPoint, F_OK) ){
- /* mkdir() simply hangs when called from fiddle app. Cause is
- not yet determined but the hypothesis is an init-order
- issue. */
/* Note that this check and is not robust but it will
hypothetically suffice for the transient wasm-based virtual
filesystem we're currently running in. */