mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-27 20:41:58 +03:00
Put pieces in place for fiddle to support opfs, but more cleanup is required in the sqlite3.js/fiddle connection. bigIntEnabled now defaults to whether the Emscripten's module has bigint enabled. Add wasm-sensible defaults for several SQLITE_ENABLE/OMIT flags in sqlite3-wasm.c.
FossilOrigin-Name: 7c7fb7535e86b3960eea7f29ab7e6d5197c166b4ee64ad4a9bc0749f2869badc
This commit is contained in:
@ -147,7 +147,10 @@ self.sqlite3ApiBootstrap = function sqlite3ApiBootstrap(
|
||||
Module: undefined/*needed for some test code, not part of the public API*/,
|
||||
exports: undefined,
|
||||
memory: undefined,
|
||||
bigIntEnabled: !!self.BigInt64Array,
|
||||
bigIntEnabled: (()=>{
|
||||
if('undefined'!==typeof Module) return !!Module.HEAPU64;
|
||||
return !!self.BigInt64Array;
|
||||
})(),
|
||||
allocExportName: 'malloc',
|
||||
deallocExportName: 'free',
|
||||
persistentDirName: '/persistent'
|
||||
|
Reference in New Issue
Block a user