mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-29 08:01:23 +03:00
Use SQLITE_EXTRA_INIT_MUTEXED instead of SQLITE_EXTRA_INIT for the SQLITE_WASM_EXTRA_INIT feature, as suggested in [forum:14183b98fc0b1dea|forum post 14183b98fc0b1dea]. This doesn't make a functional difference now - this is in the name of future-proofing against eventual threading support in wasm.
FossilOrigin-Name: 46479c2e30b9676e0fa8da117ba67f673671fb340c9bea38ece19a1b2371a57b
This commit is contained in:
@ -128,7 +128,9 @@
|
||||
#endif
|
||||
|
||||
#ifdef SQLITE_WASM_EXTRA_INIT
|
||||
# define SQLITE_EXTRA_INIT sqlite3_wasm_extra_init
|
||||
/* SQLITE_EXTRA_INIT vs SQLITE_EXTRA_INIT_MUTEXED:
|
||||
** see https://sqlite.org/forum/forumpost/14183b98fc0b1dea */
|
||||
# define SQLITE_EXTRA_INIT_MUTEXED sqlite3_wasm_extra_init
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user